File tree 2 files changed +3
-1
lines changed 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -1710,7 +1710,7 @@ namespace ts {
1710
1710
return moduleResolution ;
1711
1711
}
1712
1712
1713
- export function getStrictOptionValue ( compilerOptions : CompilerOptions , flag : "noImplicitAny" | "noImplicitThis" | "strictNullChecks" | "strictFunctionTypes" | "alwaysStrict" ) : boolean {
1713
+ export function getStrictOptionValue ( compilerOptions : CompilerOptions , flag : StrictOptionName ) : boolean {
1714
1714
return compilerOptions [ flag ] === undefined ? compilerOptions . strict : compilerOptions [ flag ] ;
1715
1715
}
1716
1716
Original file line number Diff line number Diff line change @@ -3676,6 +3676,8 @@ namespace ts {
3676
3676
3677
3677
export type CompilerOptionsValue = string | number | boolean | ( string | number ) [ ] | string [ ] | MapLike < string [ ] > | PluginImport [ ] | null | undefined ;
3678
3678
3679
+ export type StrictOptionName = "noImplicitAny" | "noImplicitThis" | "strictNullChecks" | "strictFunctionTypes" | "alwaysStrict" ;
3680
+
3679
3681
export interface CompilerOptions {
3680
3682
/*@internal */ all ?: boolean ;
3681
3683
allowJs ?: boolean ;
You can’t perform that action at this time.
0 commit comments