fix(build): Remove duplicate System declarations (#10713)
Add it to a common .d.ts. Prevents closure from complaining of duplicate declarations when compiled using tsickle to generate externs.
This commit is contained in:
@ -13,8 +13,6 @@ import {Compiler} from './compiler';
|
||||
import {NgModuleFactory} from './ng_module_factory';
|
||||
import {NgModuleFactoryLoader} from './ng_module_factory_loader';
|
||||
|
||||
declare var System: {import: (module: string) => Promise<any>;};
|
||||
|
||||
const _SEPARATOR = '#';
|
||||
|
||||
const FACTORY_MODULE_SUFFIX = '.ngfactory';
|
||||
|
@ -13,8 +13,6 @@ import {Type} from '../type';
|
||||
import {ComponentFactory} from './component_factory';
|
||||
import {ComponentResolver} from './component_resolver';
|
||||
|
||||
declare var System: {import: (module: string) => Promise<any>;};
|
||||
|
||||
const _SEPARATOR = '#';
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user