Skip to content

Commit 445d220

Browse files
Minor text fixes
1 parent 534a831 commit 445d220

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pages/docs/manual/latest/typescript-integration.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ The minimal configuration of genType is following:
103103
}
104104
```
105105

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`:
107107

108108
```json
109109
{
@@ -115,7 +115,7 @@ And don't forget to make sure `allowJs` in the project `tsconfig.json`:
115115

116116
### TypeScript Module Resolutions
117117

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.
119119

120120
For example if the TypeScript project uses ES Modules with `Node16` / `NodeNext` module resolution:
121121

@@ -139,7 +139,7 @@ Then `moduleResolution` in `gentypeconfig` should be same value:
139139
}
140140
```
141141

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`:
143143

144144
```json
145145
// tsconfig.json

0 commit comments

Comments
 (0)