File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1710,7 +1710,7 @@ namespace ts {
17101710 return moduleResolution ;
17111711 }
17121712
1713- export function getStrictOptionValue ( compilerOptions : CompilerOptions , flag : "noImplicitAny" | "noImplicitThis" | "strictNullChecks" | "strictFunctionTypes" | "alwaysStrict" ) : boolean {
1713+ export function getStrictOptionValue ( compilerOptions : CompilerOptions , flag : StrictOptionName ) : boolean {
17141714 return compilerOptions [ flag ] === undefined ? compilerOptions . strict : compilerOptions [ flag ] ;
17151715 }
17161716
Original file line number Diff line number Diff line change @@ -3676,6 +3676,8 @@ namespace ts {
36763676
36773677 export type CompilerOptionsValue = string | number | boolean | ( string | number ) [ ] | string [ ] | MapLike < string [ ] > | PluginImport [ ] | null | undefined ;
36783678
3679+ export type StrictOptionName = "noImplicitAny" | "noImplicitThis" | "strictNullChecks" | "strictFunctionTypes" | "alwaysStrict" ;
3680+
36793681 export interface CompilerOptions {
36803682 /*@internal */ all ?: boolean ;
36813683 allowJs ?: boolean ;
You can’t perform that action at this time.
0 commit comments