From 2a78d5e6fee26a6a43804f39da578cd9d79172ea Mon Sep 17 00:00:00 2001 From: Martin Probst Date: Fri, 18 May 2018 12:50:52 +0200 Subject: [PATCH] refactor(core): clean up dupe'd imports in reflector (#24203) Closure Compiler in some configurations complains about duplicate imports. This change replaces the export-with-import with an export of the imported symbol. closes #23993 PR Close #24203 --- packages/core/src/reflection/reflector.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/src/reflection/reflector.ts b/packages/core/src/reflection/reflector.ts index 8115a14e33..678941f442 100644 --- a/packages/core/src/reflection/reflector.ts +++ b/packages/core/src/reflection/reflector.ts @@ -10,8 +10,8 @@ import {Type} from '../type'; import {PlatformReflectionCapabilities} from './platform_reflection_capabilities'; import {GetterFn, MethodFn, SetterFn} from './types'; -export {PlatformReflectionCapabilities} from './platform_reflection_capabilities'; -export {GetterFn, MethodFn, SetterFn} from './types'; +export {PlatformReflectionCapabilities}; +export {GetterFn, MethodFn, SetterFn}; /** * Provides access to reflection data about symbols. Used internally by Angular