ts-json-schema-generator icon indicating copy to clipboard operation
ts-json-schema-generator copied to clipboard

`tsconfig.json` not being loaded by default

Open arthurfiorette opened this issue 7 months ago • 1 comments

To reproduce this behavior:

git clone https://github.com/TypeStrong/typedoc
cd typedoc
npx ts-json-schema-generator -p src/**.ts -t ProjectReflection -f tsconfig.json --no-type-check >/dev/null  # succeeds
npx ts-json-schema-generator -p src/**.ts -t ProjectReflection --no-type-check >/dev/null  # fails

npx ts-json-schema-generator -p src/**.ts -t ProjectReflection -f tsconfig.json  # a few errors
npx ts-json-schema-generator -p src/**.ts -t ProjectReflection # a ton of errors

Originally posted by @pawamoy in #2197

arthurfiorette avatar Mar 10 '25 20:03 arthurfiorette