@@ -32,16 +32,7 @@ export interface TSCommon {
3232 createModuleResolutionCache : typeof _ts . createModuleResolutionCache ;
3333 resolveModuleName : typeof _ts . resolveModuleName ;
3434 resolveModuleNameFromCache : typeof _ts . resolveModuleNameFromCache ;
35- // Changed in TS 4.7
36- resolveTypeReferenceDirective (
37- typeReferenceDirectiveName : string ,
38- containingFile : string | undefined ,
39- options : _ts . CompilerOptions ,
40- host : _ts . ModuleResolutionHost ,
41- redirectedReference ?: _ts . ResolvedProjectReference ,
42- cache ?: _ts . TypeReferenceDirectiveResolutionCache ,
43- resolutionMode ?: _ts . SourceFile [ 'impliedNodeFormat' ]
44- ) : _ts . ResolvedTypeReferenceDirectiveWithFailedLookupLocations ;
35+ resolveTypeReferenceDirective : typeof _ts . resolveTypeReferenceDirective ;
4536 createIncrementalCompilerHost : typeof _ts . createIncrementalCompilerHost ;
4637 createSourceFile : typeof _ts . createSourceFile ;
4738 getDefaultLibFileName : typeof _ts . getDefaultLibFileName ;
@@ -52,16 +43,7 @@ export interface TSCommon {
5243 ModuleResolutionKind : typeof _ts . ModuleResolutionKind ;
5344}
5445export namespace TSCommon {
55- export interface LanguageServiceHost extends _ts . LanguageServiceHost {
56- // Modified in 4.7
57- resolveTypeReferenceDirectives ?(
58- typeDirectiveNames : string [ ] | _ts . FileReference [ ] ,
59- containingFile : string ,
60- redirectedReference : _ts . ResolvedProjectReference | undefined ,
61- options : _ts . CompilerOptions ,
62- containingFileMode ?: _ts . SourceFile [ 'impliedNodeFormat' ] | undefined
63- ) : ( _ts . ResolvedTypeReferenceDirective | undefined ) [ ] ;
64- }
46+ export interface LanguageServiceHost extends _ts . LanguageServiceHost { }
6547 export type ModuleResolutionHost = _ts . ModuleResolutionHost ;
6648 export type ParsedCommandLine = _ts . ParsedCommandLine ;
6749 export type ResolvedModule = _ts . ResolvedModule ;
0 commit comments