# Setup
# Install With NPM
npm i typed-ecstasy typed-signals typedi
# Install With Yarn
yarn add typed-ecstasy typed-signals typedi
# Enable Annotations and Reflection
Since typed-ecstasy uses typedi, we'll need some extra work if you don't have this set up yet:
Your tsconfig will need these two options:
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
You'll also need a reflection library. I'll recommend @abraham/reflection (opens new window), but you can use others like reflect-metadata (opens new window) as well:
# Install With NPM
npm i @abraham/reflection
# Install With Yarn
yarn add @abraham/reflection
In your entrypoint file, you'll need to import this:
import '@abraham/reflection';