You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/docs/manual/latest/typescript-integration.mdx
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -103,7 +103,7 @@ The minimal configuration of genType is following:
103
103
}
104
104
```
105
105
106
-
And don't forget to make sure `allowJs` in the project `tsconfig.json`:
106
+
And don't forget to make sure `allowJs`is set to `true`in the project's`tsconfig.json`:
107
107
108
108
```json
109
109
{
@@ -115,7 +115,7 @@ And don't forget to make sure `allowJs` in the project `tsconfig.json`:
115
115
116
116
### TypeScript Module Resolutions
117
117
118
-
Make sure to set the same `moduleResolution` in the both `rescript.json` and `tsconfig.json` so that the output of genType is performed at preferred module resolution.
118
+
Make sure to set the same `moduleResolution`value in both `rescript.json` and `tsconfig.json`, so that the output of genType is done with the preferred module resolution.
119
119
120
120
For example if the TypeScript project uses ES Modules with `Node16` / `NodeNext` module resolution:
121
121
@@ -139,7 +139,7 @@ Then `moduleResolution` in `gentypeconfig` should be same value:
139
139
}
140
140
```
141
141
142
-
In case of the TypeScript project uses`Bundler` module resolution, `allowImportingTsExtensions` should also be `true`:
142
+
In case of the TypeScript project using`Bundler` module resolution, `allowImportingTsExtensions` should also be `true`:
0 commit comments