-
Notifications
You must be signed in to change notification settings - Fork 90
Description
Followed the readme directions - caused this error. I found a few similar issues elsewhere, where updating TS, or creating a files section in the tsconfig.ts will solve the issue, however, these solutions did not work in my situation. Does anyone know what this would cause? TS Version: 4.0.3
This happens after npm run build
node_modules/@types/node/index.d.ts:167:11 - error TS2300: Duplicate identifier 'IteratorResult'.
167 interface IteratorResult { }
~~~~~~~~~~~~~~
node_modules/typescript/lib/lib.es2015.iterable.d.ts:41:6
41 type IteratorResult<T, TReturn = any> = IteratorYieldResult | IteratorReturnResult;
~~~~~~~~~~~~~~
'IteratorResult' was also declared here.
node_modules/typescript/lib/lib.es2015.iterable.d.ts:41:6 - error TS2300: Duplicate identifier 'IteratorResult'.
41 type IteratorResult<T, TReturn = any> = IteratorYieldResult | IteratorReturnResult;
~~~~~~~~~~~~~~
node_modules/@types/node/index.d.ts:167:11
167 interface IteratorResult { }
~~~~~~~~~~~~~~
'IteratorResult' was also declared here.