-
Notifications
You must be signed in to change notification settings - Fork 107
Open
Labels
closing-soonThis issue will automatically close in 2 days unless further comments are made.This issue will automatically close in 2 days unless further comments are made.
Description
After upgrading our project to:
"typescript": "~5.6.3",
"@smithy/core": "^3.9.0",
The following errors started showing on running tsc
node_modules/@smithy/core/dist-types/submodules/cbor/cbor-types.d.ts:40:46 - error TS2315: Type 'Uint8Array' is not generic.
40 export declare function alloc(size: number): Uint8Array<ArrayBuffer> | Buffer<ArrayBuffer>;
~~~~~~~~~~~~~~~~~~~~~~~
node_modules/@smithy/core/dist-types/submodules/cbor/cbor-types.d.ts:40:72 - error TS2315: Type 'Buffer' is not generic.
40 export declare function alloc(size: number): Uint8Array<ArrayBuffer> | Buffer<ArrayBuffer>;
~~~~~~~~~~~~~~~~~~~
node_modules/@smithy/core/dist-types/submodules/cbor/cbor.d.ts:13:28 - error TS2315: Type 'Uint8Array' is not generic.
13 serialize(input: any): Uint8Array<ArrayBufferLike>;
Updating the types seems to resolve the issues
Lemour-sudo, AlfieGoat, ziadhishamali, dalexander-trc, harishymai and 1 more
Metadata
Metadata
Assignees
Labels
closing-soonThis issue will automatically close in 2 days unless further comments are made.This issue will automatically close in 2 days unless further comments are made.