mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 10:25:42 +01:00
Add missing enum and moduleDetection config to CompilerOptions
This commit is contained in:
parent
b31d22b9ee
commit
2ae8a97dc5
1 changed files with 7 additions and 0 deletions
|
|
@ -47,6 +47,12 @@ export enum ScriptTarget {
|
||||||
Latest = ESNext
|
Latest = ESNext
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export enum ModuleDetectionKind {
|
||||||
|
Legacy = 1,
|
||||||
|
Auto = 2,
|
||||||
|
Force = 3
|
||||||
|
}
|
||||||
|
|
||||||
export enum ModuleResolutionKind {
|
export enum ModuleResolutionKind {
|
||||||
Classic = 1,
|
Classic = 1,
|
||||||
NodeJs = 2
|
NodeJs = 2
|
||||||
|
|
@ -99,6 +105,7 @@ interface CompilerOptions {
|
||||||
mapRoot?: string;
|
mapRoot?: string;
|
||||||
maxNodeModuleJsDepth?: number;
|
maxNodeModuleJsDepth?: number;
|
||||||
module?: ModuleKind;
|
module?: ModuleKind;
|
||||||
|
moduleDetection?: ModuleDetectionKind;
|
||||||
moduleResolution?: ModuleResolutionKind;
|
moduleResolution?: ModuleResolutionKind;
|
||||||
newLine?: NewLineKind;
|
newLine?: NewLineKind;
|
||||||
noEmit?: boolean;
|
noEmit?: boolean;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue