Docs: Remove the Prerequisites section in Create an Entity documentation #2289 (#2320)

* update index.md

removes Prerequisites from the Create An entity page

* Update index.md

now check i removed the spaces above create the entity

* Update index.md
This commit is contained in:
RITIK JAIN
2022-10-04 11:14:09 +03:00
committed by GitHub
parent a37925d6ea
commit 2ae8fabf36
@@ -2,20 +2,6 @@
In this document, youll learn how you can create an [Entity](overview.md).
## Prerequisites
Its recommended to create a `tsconfig.json` file in the root of your Medusa server with the following content:
```jsx
{
"compilerOptions": {
"experimentalDecorators": true
}
}
```
This will remove any errors that show up in your IDE related to experimental decorators.
## Create the Entity
To create an entity, create a TypeScript file in `src/models`. For example, heres a `Post` entity defined in the file `src/models/post.ts`: