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
This is caused by the use of a few any, that slightly degrades the TypeScript developer experience. I believe this could be improved, for example by using overloads and generics:
hey, thanks Simon - sorry for the delay.
Good idea! A PR is welcomed and really appreciated. I'm a klutz with typescript, and would really appreciate the help.
cheers
I'm using compromise with TypeScript and I see myself casting quite often the output of this library (i.e.
as string[]
):This is caused by the use of a few
any
, that slightly degrades the TypeScript developer experience. I believe this could be improved, for example by using overloads and generics:The text was updated successfully, but these errors were encountered: