Skip to content
This repository was archived by the owner on Dec 1, 2019. It is now read-only.

Commit b55af48

Browse files
author
Stanislav Panferov
committed
fix(checker-runtime): fix SyncResolver type
1 parent 476d107 commit b55af48

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/checker-runtime.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ICompilerOptions, ICompilerInfo, IFile, SyncResolver } from './host';
1+
import { ICompilerOptions, ICompilerInfo, IFile } from './host';
22
import makeResolver from './resolver';
33
import * as colors from 'colors';
44
import * as path from 'path';
@@ -38,6 +38,10 @@ export interface IEnv {
3838
service?: ts.LanguageService;
3939
}
4040

41+
export interface SyncResolver {
42+
resolveSync(context: string, fileName: string): string;
43+
}
44+
4145
let env: IEnv = {};
4246

4347
export class ModuleResolutionHost implements ts.ModuleResolutionHost {

0 commit comments

Comments
 (0)