-
-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TSC Build #195
Comments
Temporarily I added "skipLibCheck": true, to my tsconfig.json |
Does the cbor2 library show this same issue? |
I have reproduced the issue in this library, and don't see it in cbor2. Getting the tooling working again for this project is pretty labor-intensive, so I'm unlikely to be able to fix this in a reasonable timeframe. Please move to cbor2 if you can. |
I did get everything working at once, and just landed a fix for this. I'm going to see if anything else needs to be fixed before doing a release. |
I've an error when transpiling my project with TSC using this library :
node_modules/cbor/types/lib/map.d.ts:48:5 - error TS2416: Property 'keys' in type 'CborMap' is not assignable to the same property in base type 'Map<any, any>'.
Type '() => Generator<any, void, unknown>' is not assignable to type '() => MapIterator'.
Call signature return types 'Generator<any, void, unknown>' and 'MapIterator' are incompatible.
The types returned by 'next(...)' are incompatible between these types.
Type 'IteratorResult<any, void>' is not assignable to type 'IteratorResult<any, undefined>'.
Type 'IteratorReturnResult' is not assignable to type 'IteratorResult<any, undefined>'.
Type 'IteratorReturnResult' is not assignable to type 'IteratorReturnResult'.
Type 'void' is not assignable to type 'undefined'.
48 keys(): Generator<any, void, unknown>;
~~~~
Found 1 error in node_modules/cbor/types/lib/map.d.ts:48
The text was updated successfully, but these errors were encountered: