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
ForkTsCheckerWebpackPlugin require Option type as a parameter but all keys in it are required. For that reason user has to pass all options to the plugin which shouldn't be the case. What with default values? It's also impossible to cast passed object to Option type: Options interface is not exported. This is now impossible:
[ts]
Argument of type '{ tsconfig: string; tslint: string; watch: string[]; workers: number; }' is not assignable to parameter of type 'Options'.
Property 'async' is missing in type '{ tsconfig: string; tslint: string; watch: string[]; workers: number; }'.
After adding 'async' it starts to complain about other parameters.
I believe some keys in that interface should be optional:
ForkTsCheckerWebpackPlugin require Option type as a parameter but all keys in it are required. For that reason user has to pass all options to the plugin which shouldn't be the case. What with default values? It's also impossible to cast passed object to Option type: Options interface is not exported. This is now impossible:
because Typescript emits:
After adding 'async' it starts to complain about other parameters.
I believe some keys in that interface should be optional:
typescript version: 3.0.1
The text was updated successfully, but these errors were encountered: