Open retorquere opened 4 years ago
The prepublish script changes the export signature, and in the npm-published package this new export signature makes it mismatch the type declaration in @types/punycode for typescript.
I think the @types/punycode is for Node.js' built-in and deprecated punycode module. This will be deprecated since v7.0.0. (coming soon)
@types/punycode
I'd like to suggest @bestiejs or @mathiasbynens include it's own TypeScript Declaration File within this package.
The prepublish script changes the export signature, and in the npm-published package this new export signature makes it mismatch the type declaration in @types/punycode for typescript.