You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure anyone actually uses the return-type for anything? I've never used it myself - but since it is part of the API, the generic form should be more accurate.
The text was updated successfully, but these errors were encountered:
The type-hint for the
throws
assertion is somehow incorrect.No matter what argument I pass, it's the same error:
The type declaration definitely looks odd:
zora/assert/src/index.d.ts
Lines 18 to 24 in 4ba9b40
It looks like you were trying to write an overloaded function type?
That would probably look more like this:
Also (and I'm not sure if this is significant, but) the first function could more accurately specify a dependent return-type:
I'm not sure anyone actually uses the return-type for anything? I've never used it myself - but since it is part of the API, the generic form should be more accurate.
The text was updated successfully, but these errors were encountered: