Description
I suspect this change was not intentional so reporting it.. I was previously on v13.0.23 and in the typings changes since the programmatic generateApi
function's typings no longer allow partial extractingOptions
config to be provided.
This is still typed as Partial<ExtractingOptions>
on CodeGenConfig
here where defaults are defined:
swagger-typescript-api/src/configuration.ts
Lines 183 to 204 in 75366cf
But it looks like that is overridden by the parameter type here:
swagger-typescript-api/src/index.ts
Line 6 in 75366cf
swagger-typescript-api/types/index.ts
Lines 171 to 172 in 75366cf
In the earlier version index.d.ts
typed this prop as CodeGenConfig
still does:
swagger-typescript-api/types/index.d.ts
Lines 180 to 181 in 5a00cd5
My workaround for now casting to any