fix(compiler): Added unit test to ReflectorHost and fixed issues (#9052)

Refactored ReflectorHost to allow it to be tested.
Fixed an issue where the .d.ts was findable but it wasn't used by the project
  (This happens when the .metadata.json file references a module that was not
   needed, such as it doesn't declare any types, and the reference to it was
   elided by TypeScript when writing the .d.ts file).
Added tests for ReflectorHost
This commit is contained in:
Chuck Jazdzewski
2016-06-09 14:51:53 -07:00
parent e178ee4ba0
commit 0658eb4429
6 changed files with 303 additions and 15 deletions

View File

@ -1,4 +1,4 @@
export {CodeGenerator} from './src/codegen';
export {NodeReflectorHost} from './src/reflector_host';
export {ReflectorHost, ReflectorHostContext, NodeReflectorHostContext} from './src/reflector_host';
export {StaticReflector, StaticReflectorHost, StaticSymbol} from './src/static_reflector';
export * from '@angular/tsc-wrapped';