emitDecoratorMetadata
typescript compiler option, import the emitDecoratorMetadata
build extension and use it in your trigger.config.ts
file:
emitDecoratorMetadata works by hooking into the esbuild bundle process and using the TypeScript
compiler API to compile files where we detect the use of decorators. This means you must have
emitDecoratorMetadata
enabled in your tsconfig.json
file, as well as typescript
installed in
your devDependencies
.