diff --git a/packages/compiler-cli/src/ngtsc/transform/src/declaration.ts b/packages/compiler-cli/src/ngtsc/transform/src/declaration.ts index 495886d45e..dec8eb96f2 100644 --- a/packages/compiler-cli/src/ngtsc/transform/src/declaration.ts +++ b/packages/compiler-cli/src/ngtsc/transform/src/declaration.ts @@ -20,8 +20,8 @@ export class DtsFileTransformer { private ivyFields = new Map(); private imports: ImportManager; - constructor(private coreImportsFrom: ts.SourceFile|null) { - this.imports = new ImportManager(coreImportsFrom !== null); + constructor(private coreImportsFrom: ts.SourceFile|null, importPrefix?: string) { + this.imports = new ImportManager(coreImportsFrom !== null, importPrefix); } /** @@ -62,4 +62,4 @@ export class DtsFileTransformer { return dts; } -} \ No newline at end of file +}