TritonDataCenter / node-verror

Rich JavaScript errors
MIT License
1.18k stars 61 forks source link

Typescript: added first basic version of types #46

Closed maghis closed 3 years ago

maghis commented 7 years ago

The types in DefinitelyTyped are outdated. @davepacheco let me know if you are ok with adding TS types to the package.

maghis commented 7 years ago

@davepacheco @trentm feedback?

davepacheco commented 7 years ago

It's a nice idea, but I'm afraid we really can't commit to keeping these up to date.

maghis commented 7 years ago

@davepacheco np, moving them to https://github.com/DefinitelyTyped/DefinitelyTyped

pasieronen commented 7 years ago

@maghis it would be nice if the type definitions supported import {WError} from "verror" style imports, too.