You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Argument of type '{ path: string; tsconfig: string; type: string; encodeRefs: false; }' is not assignable to parameter of type 'CompletedConfig'.
Type '{ path: string; tsconfig: string; type: string; encodeRefs: false; }' is missing the following properties from type 'Omit<Required<Config>, "path" | "type" | "schemaId" | "tsconfig">': minify, expose, topRef, jsDoc, and 8 more.ts(2345)
It works if I add all the properties, but I'm not sure if this change was intentional?
(Typescript: 5.4.5)
The text was updated successfully, but these errors were encountered:
I thought it would be cleaner to expect full configs in some of the initialization methods but I think it makes sense to support partial configs in createGenerator. I sent a patch and will release it in a bit.
After upgrading to ts-json-schema-generator 2.0.0, I got an error when initializing the generator programmatically:
It works if I add all the properties, but I'm not sure if this change was intentional?
(Typescript: 5.4.5)
The text was updated successfully, but these errors were encountered: