ts-metadata-helper
An implementation of wrapper ES7 reflect metadata at TypeScript 2.0.
Features
Compatible with the Angular 2.0.0 annotations.
Dependencies
Installation
First you need to install the npm module:
npm install ts-metadata-helper --save
Use
;; ... ; ; expectObject.keysMetadataHelper.findPropertyMetadataviewInstance, ViewField.toEqual;expectObject.keysMetadataHelper.findPropertyMetadataviewInstance, Input.toEqual;expectObject.keysMetadataHelper.findPropertyMetadataviewInstance, Output.toEqual; ;expectReflect.getReflect.getannotationMetadataHolder, 'field1', 'configValue'.toBe100;expectReflect.getReflect.getannotationMetadataHolder, 'field2', 'configValue'.toBe200; expect Reflect.getMetadataHelper.findAnnotationsMetaDataView, Component, 'template'.toEqual'<div>Template</div>';
Publish
npm run deploy
License
Licensed under MIT.