[Docs] Add documentation for typeorm#26535
Conversation
|
Sfurti Sarah seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
✅ Deploy Preview for infallible-bardeen-164bc9 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
| ``` | ||
| { | ||
| "compilerOptions": { | ||
| "target": "ES6", |
There was a problem hiding this comment.
There's no need to use an old version of ECMAScript. You can use whatever you would like.
TypeORM currently ships compiled to ES2021 (but that will be increased in the next version), so using something older is not really necessary.
The important thing about tsconfig is:
{
"experimentalDecorators": true,
"emitDecoratorMetadata": true
}FYI: We (TypeORM maintainers) are in the processes of rewriting our docs. The docs for the initial setup which were copied here could be re-written to take advantage of more modern JS features (we'll update them in the near future). The current instructions should still work though.
There was a problem hiding this comment.
Thanks @alumni for the review, will make the changes accordingly
| @@ -0,0 +1,106 @@ | |||
| <!--- | |||
There was a problem hiding this comment.
I'm not sure what this page is for actually - it is commented out
Changes to include CRUD example for typeORM