docs: Use .js file extension

This commit is contained in:
Faruk AYDIN
2024-01-15 13:02:06 +01:00
parent 5a1960609a
commit b304acaaba
9 changed files with 56 additions and 56 deletions

View File

@@ -27,14 +27,14 @@ cd packages/backend/src/apps
mkdir thecatapi
```
We need to create an `index.ts` file inside of the `thecatapi` folder.
We need to create an `index.js` file inside of the `thecatapi` folder.
```bash
cd thecatapi
touch index.ts
touch index.js
```
Then let's define the app inside of the `index.ts` file as follows:
Then let's define the app inside of the `index.js` file as follows:
```javascript
import defineApp from '../../helpers/define-app';