When using External<...>
the ...
ends up in the index.d.ts
as an unknown type
#1409
Unanswered
CMCDragonkai
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'm using the quiche library and I'm exposing:
When this generates a
index.d.ts
I end up with:However the
Instant
is an unknown type. There's no such equivalent JS type for it.This creates an error in my IDE (and maybe later during tsc compilation).
Shouldn't the TS version of the type just be some opaque
object
type, why is it exposing theInstant
?How should I fix this?
Beta Was this translation helpful? Give feedback.
All reactions