Partial Bun type declarations #11291
Unanswered
winstxnhdw
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
-
Hi, I am one of the maintainers of grammY and we’ve been trying to introduce support for Bun.
To do that, we want to make sure our adapters are always aligned with the latest API of
Bun.serve
and the best way I thought we could do this is to import the bun types forserve
. Unforunately, AFAIKbun-types
don’t support partial imports. Any ideas how we can only get the type forserve
without polluting all the types in our module?Beta Was this translation helpful? Give feedback.
All reactions