fix(types): update type deps#1776
Conversation
Remove duplicate `long` types
|
@thw0rted Would you mind fixing the failing tests in your branch? Thank you! |
|
I think it's fixed now. I updated the test-runner script to do the whole directory at once, rather than 3 separate invocations of I did also try to take the "minimal" definition of a Just as an aside, this is like the 4th issue in the last week where trying to stick with vanilla JSDoc, instead of using TypeScript's JSDoc parser, has made my life difficult. JSDoc is a dead standard, they haven't published a meaningful update since 2017, and it's really holding the whole ecosystem back. Specifically, ESM support has come a long way in 5 years, and JSDoc still assumes a CJS / global-pollution model for types... and we have no reason to expect them to rectify that situation. Not sure what PBJS can do about that, I guess, but it's something to think about. |
Remove duplicate
longtypesLong has shipped with its own TS types for a while now, and the package from DefinitelyTyped conflicts with the newest version. TS consumers wind up with errors when trying to work with
Longvalues.