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

Commit

Permalink
fix(checker-runtime): fix SyncResolver type
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanislav Panferov committed Nov 24, 2015
1 parent 476d107 commit b55af48
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/checker-runtime.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ICompilerOptions, ICompilerInfo, IFile, SyncResolver } from './host';
import { ICompilerOptions, ICompilerInfo, IFile } from './host';
import makeResolver from './resolver';
import * as colors from 'colors';
import * as path from 'path';
Expand Down Expand Up @@ -38,6 +38,10 @@ export interface IEnv {
service?: ts.LanguageService;
}

export interface SyncResolver {
resolveSync(context: string, fileName: string): string;
}

let env: IEnv = {};

export class ModuleResolutionHost implements ts.ModuleResolutionHost {
Expand Down

0 comments on commit b55af48

Please sign in to comment.