babel-plugin-transform-typescript-metadata
babel-plugin-transform-typescript-metadata copied to clipboard
Babel plugin to emit decorator metadata like typescript compiler
Disclaimer: I am not entirely sure I understand everything that is happening here, but I'll try my best to make sense. I am using Typeorm while compiling Typescript with Babel...
This is a quick proof of concept on how to add type annotations for get/set properties, I could also add tests and cleanup as soon as I know how to...
Fixes https://github.com/unjs/jiti/issues/145
This particular translation causes problems with esbuild and esbuild-based frameworks like vite. esbuild does not support TypeScript's `emitDecoratorMetadata` functionality, so we must use this brilliant Babel plugin to inject the...