Invalid TypeScript type definition for `engines` option
caesar opened this issue · 2 comments
caesar commented
The TypeScript type definition is invalid due to missing types on the parameters for the engines
callbacks.
When running TypeScript with the noImplicitAny
option, the following error is emitted three times:
Parameter has a name but no type. Did you mean 'arg0: string'?
The incorrect definition is in the following lines (the two string
s and the object
are being interpreted as parameter names rather than types because no names are given).
Lines 31 to 35 in 97eb641
If I can work out what the syntax is for the engines
callbacks I'll submit a PR.
caesar commented
robertmassaioli commented
This has been fixed and released in 4.0.2
.