Replies: 1 comment 2 replies
-
teal's any is like I am personally not against having a TS like |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
With typescript any, you can do anything with an any, and it will just happily return anything :
For dealing with untyped external stuff, I strongly prefer the typescript approach. I would like to achieve the same thing with teal ; here is what I came up with :
Which kinda works :
Weirdly, this doesn't :
Is this a bug or am I missing something ?
Beta Was this translation helpful? Give feedback.
All reactions