make type definitons "module": "nodenext" compatible#311
make type definitons "module": "nodenext" compatible#311mcollina merged 6 commits intofastify:masterfrom
"module": "nodenext" compatible#311Conversation
climba03003
left a comment
There was a problem hiding this comment.
Same comment on fastify/fastify-cookie#184 (review)
|
Any progress on this one? |
…to nodenext-export
mcollina
left a comment
There was a problem hiding this comment.
Thanks for opening a PR! Can you please add a unit test?
added tests from fastify-cookie, should be g2g |
|
Could you rebase on top of master? |
…to nodenext-export
done |
|
@climba03003 @RafaelGSS PTAL |
climba03003
left a comment
There was a problem hiding this comment.
Although I do not like to use namespace.
The types here works just fine and support more area.
RafaelGSS
left a comment
There was a problem hiding this comment.
LGTM. I concur with avoiding namespaces, though.
Well Typescript rewrite with esm support might be good point for future, currently idk if there's a better way to pass current test suite |
Checklist
npm run testandnpm run benchmarkand the Code of conduct