fix(ngc): add an option to produce TS1.9-pathMapping imports (#10602)
This fixes a regression in #10486
This commit is contained in:

committed by
Alex Rickabaugh

parent
c8da7e995f
commit
beadf6167a
@ -17,6 +17,8 @@ export interface Directory { [name: string]: Entry; }
|
||||
export class MockContext implements ReflectorHostContext {
|
||||
constructor(public currentDirectory: string, private files: Entry) {}
|
||||
|
||||
trace(s: string) { console.log(s); }
|
||||
|
||||
fileExists(fileName: string): boolean { return typeof this.getEntry(fileName) === 'string'; }
|
||||
|
||||
directoryExists(path: string): boolean { return typeof this.getEntry(path) === 'object'; }
|
||||
|
Reference in New Issue
Block a user