Typescript type definitions for functions may not match Go definitions #1707
Unanswered
brentmparker
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I think this is probably related to 1476, but some of my type definitions for functions are not matching the go signatures. For example, the go signature is
and the typescript signature is
Now, obviously the
Array<number>
is wrong for the typescript and it should beArray<internal.Player>
. I also looked at the library that the guide references in the troubleshooting section. That library doesn't seem to suggest any way to fix this through adding comments or annotations or anything. Any suggestions on how to correct this right now and is this something that's being looked at improving for the future?Thanks a lot!
Beta Was this translation helpful? Give feedback.
All reactions