Open lygstate opened 4 years ago
@martinheidegger would you be open to supporting types directly in this package? definitelyTyped is huge and adding types is a significant pain. (check out the PR checklist at https://github.com/DefinitelyTyped/DefinitelyTyped/pull/67294)
I don't think it will make it in the package
@martinheidegger would you mind elaborating? Are you trying to keep modifications to this package low or worried about pushing back against a TS conversion?
we could add types in this package without changing the JS code at all (just including the index.d.ts from DefinitelyTyped).
I would accept a reasonable PR that adds .d.ts
.
What is the current best practice to validate those files? https://github.com/tsdjs/tsd or is there something better?
Incomplete, but here: https://www.npmjs.com/package/@types/dns-packet