typescript-json-schema
typescript-json-schema copied to clipboard
fix: correctly identify imports with resolution-mode (#582)
Used fix provided by @jer-sen and closes #582
I believe this only occurs for ESM projects with "moduleResolution": "NodeNext" in tsconfig.json and introduced in TS 4.7. This fix is backwards compatible.