diff --git a/src/language/typescript/monaco.contribution.ts b/src/language/typescript/monaco.contribution.ts index d272f375fa..0c9f1dd5a3 100644 --- a/src/language/typescript/monaco.contribution.ts +++ b/src/language/typescript/monaco.contribution.ts @@ -47,6 +47,12 @@ export enum ScriptTarget { Latest = ESNext } +export enum ModuleDetectionKind { + Legacy = 1, + Auto = 2, + Force = 3 +} + export enum ModuleResolutionKind { Classic = 1, NodeJs = 2 @@ -99,6 +105,7 @@ interface CompilerOptions { mapRoot?: string; maxNodeModuleJsDepth?: number; module?: ModuleKind; + moduleDetection?: ModuleDetectionKind; moduleResolution?: ModuleResolutionKind; newLine?: NewLineKind; noEmit?: boolean;