Open
Description
Prerequisites
- I have written a descriptive issue title
- I have searched existing issues to ensure the bug has not already been reported
Fastify version
NA
Plugin version
4.0.0
Node.js version
16.17
Operating system
macOS
Operating system version (i.e. 20.04, 11.3, 10)
12.4
Description
I am updating my TS code to use ESM which requires having "moduleResolution": "NodeNext"
or "moduleResolution": "Node16"
. In doing so my code (whether I use import S...
or import * as S....
now gives me errors when I do:
S.object()
or S.string()
etc with:
Property 'object' does not exist on type 'typeof import("/.../node_modules/fluent-json-schema/types/FluentJSONSchema")'.ts(2339)
I can provide a sample repo but I think if you just add `"moduleResolution": "NodeNext"`` to any TS sample it should do it.
Steps to Reproduce
Use `"moduleResolution": "NodeNext"`` in a TS project
Expected Behavior
No response
Metadata
Metadata
Assignees
Labels
No labels