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
<td><code><code>`CommonJS` (default if `target` is `ES3` or `ES5`)</code>, <code></code>, <code>`ES6`/`ES2015` (synonymous, default for `target` `ES6` and higher)</code>, <code></code>, <code>`ES2020`</code>, <code>`None`</code>, <code>`UMD`</code>, <code>`AMD`</code>, <code>`System`</code>, or <code>`ESNext`</code></code></td>
712
+
<td><code><code>`CommonJS` (default if `target` is `ES3` or `ES5`)</code>, <code></code>, <code>`ES2015`</code>, <code>`ES2020`</code>, <code></code>, <code>`None`</code>, <code>`UMD`</code>, <code>`AMD`</code>, <code>`System`</code>, or <code>`ESNext`</code></code></td>
Type Acquisition is only important for JavaScript projects. In TypeScript projects you need to include the types in your projects explicitly. However, for JavaScript projects, the TypeScript tooling will download types for your modules in the background and outside of your node_modules folder.
4
+
5
+
You may not want this, in which case you can turn off type acquisition by having this `jsconfig.json` in the root of your project:
6
+
7
+
```json
8
+
{
9
+
"typeAcquisition": {
10
+
"enable": false
11
+
}
12
+
}
13
+
```
14
+
15
+
Common uses for this section of a `jsconfig.json` is to tell TypeScript to download additional definitions for your tooling experience:
Type Acquisition is only important for JavaScript projects. In TypeScript projects you need to include the types in your projects explicitly. However, for JavaScript projects, the TypeScript tooling will download types for your modules in the background and outside of your node_modules folder.
4
+
5
+
You may not want this, in which case you can turn off type acquisition by having this `jsconfig.json` in the root of your project:
6
+
7
+
```json
8
+
{
9
+
"typeAcquisition": {
10
+
"enable": false
11
+
}
12
+
}
13
+
```
14
+
15
+
Common uses for this section of a `jsconfig.json` is to tell TypeScript to download additional definitions for your tooling experience:
0 commit comments