fix(types): option privacy in Nodenext | Node16
Relate commit #116
When use with typescript in compilerOptions: "module": "Node16" | "Nodenext", it will call the namespace fastifyCaching, that caused
and should use
I don`t know why those tests-suits fail.
Checklist
- [ ] run npm run test and npm run benchmark
- [ ] tests and/or benchmarks are included
- [ ] documentation is changed or added
- [x] commit message and code follows the Developer's Certification of Origin and the Code of conduct
Reproduction
What is this fixing?
What is this fixing?
I added the informations.
Can you please add a test?
We use tsd
Can you please add a test?
We use tsd
I cannot provide the test, but I can give a minimal reproduction.
Do you review the Reproduction? I think I have revealed it: there is using "type": "commonjs", if changed to "type": "module" it will break. May we really ought to wait a guy in NodeNext?
Not sure how we could test this... but reproducing is possible
any chance of getting this merged?