Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Fix @types/lodash #26

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Fix @types/lodash #26

wants to merge 4 commits into from

Conversation

le99
Copy link

@le99 le99 commented Nov 3, 2020

When trying to do:
npm run start

There are many errors with "@types/lodash": "^4.14.85":

ERROR in node_modules/@types/lodash/common/array.d.ts(37,24): error TS1005: ';' expected.
node_modules/@types/lodash/common/array.d.ts(483,22): error TS1005: ';' expected.
node_modules/@types/lodash/common/array.d.ts(483,41): error TS1005: ',' expected.

ERROR in node_modules/@types/lodash/index.d.ts(19300,15): error TS2428: All declarations of 'WeakMap' must have identical type parameters.
node_modules/typescript/lib/lib.es2015.collection.d.ts(45,11): error TS2428: All declarations of 'WeakMap' must have identical type parameters.
node_modules/typescript/lib/lib.es2015.iterable.d.ts(157,11): error TS2428: All declarations of 'WeakMap' must have identical type parameters.
node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts(133,11): error TS2428: All declarations of 'WeakMap' must have identical type parameters.

This pull request has the solution outlined in: DefinitelyTyped/DefinitelyTyped#14324

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant