Replies: 1 comment
-
|
Please always try to share a repro case in a runnable form - either by providing a git repository to clone or a codesandbox. OSS maintainers usually can't afford the time to set up the repro, even if exact steps are given. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Say I have the following:
For completeness I want to fully type the
foofunction (actually in my use case thefooequivalent is an export from a separate module so I really, really should type it fully). I've tried the following:And a myriad of different other attempts that seem less promising. However, every attempt I make yields a typescript error pretty dang similar to the following:
Note that when I leave
footo be inferred, there's no error. Can anyone help me figure out how to properly typefoohere?Beta Was this translation helpful? Give feedback.
All reactions