Skip to content

Commit 633429b

Browse files
authored
Fix code block ending in Typescript documentation (#1923)
1 parent 754510d commit 633429b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docusaurus/docs/dev-docs/typescript.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ To do that, edit the `tsconfig.json` of the Strapi project and add `types/genera
113113
"types/generated/**"
114114
]
115115
// ...
116+
```
116117

117118
However, if you still want to use the generated types on your project but don't want Strapi to use them, a workaround could be to copy those generated types and paste them outside of the `generated` directory (so that they
118119
aren't overwritten when the types are regenerated) and remove the `declare module '@strapi/types'` on the bottom of the file.

0 commit comments

Comments
 (0)