fix(core): Share private types through an exported interface. (#11009)
Instead of using declare namespace to share the types. This allows the generated code to be compiled with closure with full optimizations.
This commit is contained in:
@ -6,9 +6,9 @@
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
|
||||
import {__core_private__ as r, __core_private_types__ as t} from '@angular/core';
|
||||
import {__core_private__ as r} from '@angular/core';
|
||||
|
||||
export var reflector: typeof t.reflector = r.reflector;
|
||||
export var ReflectionCapabilities: typeof t.ReflectionCapabilities = r.ReflectionCapabilities;
|
||||
export var wtfInit: typeof t.wtfInit = r.wtfInit;
|
||||
export var Console: typeof t.Console = r.Console;
|
||||
export var reflector: typeof r.reflector = r.reflector;
|
||||
export var ReflectionCapabilities: typeof r.ReflectionCapabilities = r.ReflectionCapabilities;
|
||||
export var wtfInit: typeof r.wtfInit = r.wtfInit;
|
||||
export var Console: typeof r.Console = r.Console;
|
||||
|
Reference in New Issue
Block a user