diff --git a/packages/types/index.ts b/packages/types/index.ts index c1114b0e749..98340dce966 100644 --- a/packages/types/index.ts +++ b/packages/types/index.ts @@ -764,6 +764,11 @@ export interface TransformConfig { */ decoratorMetadata?: boolean; + /** + * https://swc.rs/docs/configuration/compilation#jsctransformdecoratorversion + */ + decoratorVersion?: "2021-12" | "2022-03"; + treatConstEnumAsEnum?: boolean; useDefineForClassFields?: boolean;