Skip to content

Annotating HashMap<i64, CoolType> to use number instead of bigint for Keys #362

Answered by NyxCode
hongyilyu asked this question in Q&A
Discussion options

You must be logged in to vote

Hey!
I think #[ts(as = "HashMap<i32, Vec<CoolType>>")] should work.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@hongyilyu
Comment options

Answer selected by hongyilyu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants