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:
vikerman
2016-08-11 19:37:01 -07:00
committed by GitHub
parent 6e842fc5bf
commit 3466232f8b
7 changed files with 9 additions and 8 deletions

View File

@ -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';

View File

@ -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 = '#';
/**