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 has been archived by the owner on Nov 16, 2023. It is now read-only.
Error: Errors in [email protected] for external dependencies:
../node_modules/@types/parsimmon/index.d.ts(394,32): error TS2370: A rest parameter must be of an array type.
The index.d.ts file has
// TypeScript Version: 2.3
The problem is resolved when I changed the version to 3.0 in index.d.ts.
// TypeScript Version: 3.0
What can I do to make dtslint work with // Typescript Version: 2.3?
The text was updated successfully, but these errors were encountered:
kygoh
changed the title
Errors in [email protected] for external dependencies:
Specifying TypesScript Version: 2.3 causes "error TS2370: A rest parameter must be of an array type."
Feb 14, 2020
Upon further testing, I found that the problem can be resolved without any modification to @types/[email protected]. As described above, by changing to // Typescript Version: 3.0 in index.d.ts.
After following the steps in Add types for a library (not on DefinitelyTyped), I get the following error:
The
index.d.ts
file has// TypeScript Version: 2.3
The problem is resolved when I changed the version to 3.0 in
index.d.ts
.// TypeScript Version: 3.0
What can I do to make dtslint work with
// Typescript Version: 2.3
?The text was updated successfully, but these errors were encountered: