We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 66a6c14 + a397113 commit 0506411Copy full SHA for 0506411
README.md
@@ -139,6 +139,11 @@ export const lazyInject = fixPropertyDecorator(originalLazyInject);
139
140
## Current Pitfalls
141
142
+- If you are using webpack and it complains about missing exports due to types
143
+ not being removed, you can switch from `import { MyType } from ...` to
144
+ `import type { MyType } from ...`. See [#46](https://github.com/leonardfactory/babel-plugin-transform-typescript-metadata/issues/46) for details and
145
+ examples.
146
+
147
- We cannot know if type annotations are just types (i.e. `IMyInterface`) or
148
concrete values (like classes, etc.). In order to resolve this, we emit the
149
following: `typeof Type === 'undefined' ? Object : Type`. The code has the
0 commit comments