3 ms·
You could use a type only import for the type, gets taken out completely when compiled, so no tree shaking issue. https://www.typescriptlang.org/docs/handbook/
by atom_arranger 5y ago
You could use a type only import for the type, gets taken out completely when compiled, so no tree shaking issue.
https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-8.html#type-only-imports-and-export https://www.typescriptlang.org/docs/handbook/release-notes/t...