YousefED / typescript-json-schema

Generate json-schema from your Typescript sources
BSD 3-Clause "New" or "Revised" License
3.08k stars 318 forks source link

fix: correctly identify imports with resolution-mode (#582) #595

Open FoxxMD opened 3 months ago

FoxxMD commented 3 months ago

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.