Skip to content

Add type inference#4

Open
hmtrent wants to merge 1 commit intonameskyteam:mainfrom
hmtrent:add-stronger-typings
Open

Add type inference#4
hmtrent wants to merge 1 commit intonameskyteam:mainfrom
hmtrent:add-stronger-typings

Conversation

@hmtrent
Copy link

@hmtrent hmtrent commented Nov 16, 2024

Note

This will require a major version bump, as it removes + changes some exported types.

This change improves the BorshSchema helper by adding type annotations.

Typings are used in such a way that the parsed types are tied to the schemas, allowing TypeScript to fully infer the types of parsed data.

@hmtrent hmtrent mentioned this pull request Feb 15, 2025
3 tasks
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.

Feature Request: Type Inference

1 participant