Skip to content

Conversation

@kuhe
Copy link
Contributor

@kuhe kuhe commented Sep 3, 2025

Issue #1675

Sets an explicit return type for the internal alloc cbor function so that the type compilation does not produce a generic parameter for Uint8Array.

Though our target language level includes TypeScript built-in declarations of Uint8Array having a type parameter, for greater compatibility we should avoid using it.

@kuhe kuhe requested a review from a team as a code owner September 3, 2025 14:36
@kuhe kuhe merged commit 06ac1f6 into smithy-lang:main Sep 3, 2025
11 checks passed
@kuhe kuhe deleted the fix/type branch September 3, 2025 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants