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
Looks like that's because you generate them from js, #15
It'd be good to improve these typings to allow user-defined return types (using generics https://www.typescriptlang.org/docs/handbook/2/generics.html ) , and also would be nice to give more solid type-hints on the parameter values (which mainly look like they're strings).
Currently the type definitions use a tonne of
any
's for the return values.db64/src/db64.d.ts
Lines 3 to 25 in 02b79b2
Looks like that's because you generate them from js, #15
It'd be good to improve these typings to allow user-defined return types (using generics https://www.typescriptlang.org/docs/handbook/2/generics.html ) , and also would be nice to give more solid type-hints on the parameter values (which mainly look like they're strings).
https://medium.com/@antonkrinitsyn/jsdoc-generic-types-typescript-db213cf48640 looks like generics can be used in JSDoc type hints
The text was updated successfully, but these errors were encountered: