Closed chentsulin closed 7 months ago
I don't think that we need to export the types here because we can extract it like this;
type ExtractedOption = NonNullable<Parameters<typeof bodyParserWrapper>[0]>
and you can check the following image, it's work perfectly!
The original
@types/koa-bodyparser
has thisOptions
export: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/koa-bodyparser/index.d.ts#L32-L87Add it back to support this usage.
Checklist