diff --git a/docs-site/docs/getting-started/introduce-to-automapper.md b/docs-site/docs/getting-started/introduce-to-automapper.md index 1996b768d..676d41981 100644 --- a/docs-site/docs/getting-started/introduce-to-automapper.md +++ b/docs-site/docs/getting-started/introduce-to-automapper.md @@ -105,6 +105,16 @@ yarn add @automapper/{core,classes} yarn add -D @automapper/types ``` + +## Enable decorators metadata + +Make sure the following decorator switches are on in your `tsconfig`: + +```json + "experimentalDecorators": true, + "emitDecoratorMetadata": true +``` + ## Create a `Mapper` In some separate file called `mapper.ts`, we will start initializing our `Mapper`