Skip to content

Commit a6bc17f

Browse files
committed
Review: No need to pin minor version of @types/node
1 parent 3d23d61 commit a6bc17f

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

content/en/docs/apidocs-mxsdk/mxsdk/sdk-howtos/setting-up-your-development-environment.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ $ mkdir my-app-generator
2020
$ cd my-app-generator
2121
$ npm init --yes
2222
$ npm install mendixmodelsdk mendixplatformsdk --save
23-
$ npm install typescript@~4.6.2 @types/node@~22.0.3 --save-dev
23+
$ npm install typescript@~4.6.2 @types/node@^22 --save-dev
2424
```
2525
You can now proceed directly to step 6 in the detailed instructions to configure TypeScript.
2626

@@ -82,7 +82,7 @@ To set up a working directory for your script, follow these steps:
8282
```json
8383
"devDependencies": {
8484
"typescript": "~4.6.2",
85-
"@types/node": "~22.0.3"
85+
"@types/node": "^22.0.3"
8686
}
8787
```
8888
@@ -98,15 +98,15 @@ To set up a working directory for your script, follow these steps:
9898
9999
```json
100100
{
101-
"compilerOptions": {
102-
"target": "es2020",
103-
"module": "commonjs",
104-
"esModuleInterop": true,
105-
"forceConsistentCasingInFileNames": true,
106-
"strict": true,
107-
"skipLibCheck": true
108-
},
109-
"files": ["script.ts"]
101+
"compilerOptions": {
102+
"target": "es2020",
103+
"module": "commonjs",
104+
"esModuleInterop": true,
105+
"forceConsistentCasingInFileNames": true,
106+
"strict": true,
107+
"skipLibCheck": true
108+
},
109+
"files": ["script.ts"]
110110
}
111111
```
112112

0 commit comments

Comments
 (0)