typescript-json-schema
typescript-json-schema copied to clipboard
v0.52.0 regression: UnhandledPromiseRejectionWarning: Error: type not found
When using the latest version 0.52.0 I get the following error:
(node:24128) UnhandledPromiseRejectionWarning: Error: type IProcedureDefinition not found
By switching back to 0.51.0 I do not get this. Generating a schema is done via scripts in package.json like this:
{
"gen-schema-proc": "typescript-json-schema ./tsconfig.json IProcedureDefinition -o ./app/schema/procedureSchema.json",
}
The error occurs on 0.52.0 for all three of my schema files being generated, and no issues occur on 0.51.0.
Also there is no tag in this repo for 0.52.0, but npmjs.com lists 0.52.0 as latest.
Node version is 14.17.2
I added the missing tag. Please look at what change caused the regression.