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
{{ message }}
This repository was archived by the owner on Dec 1, 2019. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+6-1
Original file line number
Diff line number
Diff line change
@@ -125,6 +125,11 @@ Array of paths to .d.ts files that must be included in program. Useful with `rew
125
125
126
126
Use this setting to disable type checking.
127
127
128
+
### ignoreDiagnostics *(number[]) (default=[])*
129
+
130
+
You can squelch certain TypeScript errors by specifying an array of [diagnostic codes](https://github.com/Microsoft/TypeScript/blob/master/src/compiler/diagnosticMessages.json) to ignore.
131
+
For example, you can transpile [stage 1 properties](https://github.com/jeffmo/es-class-fields-and-static-properties) from `*.js` using `"ignoreDiagnostics": [8014]`.
132
+
128
133
### forkChecker *(boolean) (default=false)*
129
134
130
135
Do type checking in a separate process, so webpack doesn't need to wait. **Significantly** improves development workflow with tools like [react-hot-loader](https://github.com/gaearon/react-hot-loader).
@@ -169,7 +174,7 @@ Directory when cache is stored.
169
174
170
175
Invoke glob resolver using 'filesGlob' and 'exclude' sections of `tsconfig`.
0 commit comments