leonardfactory / babel-plugin-transform-typescript-metadata

Babel plugin to emit decorator metadata like typescript compiler

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Serialize all typescript types in parameter type annotations

leonardfactory opened this issue · comments

Actually the plugin supports only typescript TSTypeReference AST nodes, but eventually it needs to support all annotations.

Like suggested in this awesome response on SO, we should encode the same logic used in the TypeScript compiler.