d9648887b8
The filename contains the module name as resolved by users, so the top-level module name is uneeded. Module names on references are replaced by capturing the import syntax from the module. This allows readers of the metadata to do the module resolution themselves. Fixes #8225 Fixes #8082 Closes #8256 |
||
---|---|---|
.. | ||
src | ||
test | ||
README.md | ||
index.ts | ||
package.json |
README.md
TypeScript Decorator metadata collector
The .d.ts
format does not preserve information about the Decorators applied to symbols.
Some tools, such as Angular 2 template compiler, need access to statically analyzable
information about Decorators, so this library allows programs to produce a foo.metadata.json
to accompany a foo.d.ts
file, and preserves the information that was lost in the declaration
emit.
Releasing
$ gulp build.tools
$ cp tools/metadata/package.json dist/tools/metadata/
$ npm login [angularcore]
$ npm publish dist/tools/metadata