whefter / nestjs-joi

Easy to use JoiPipe as an interface between joi and NestJS with optional decorator-based schema construction.
MIT License
25 stars 12 forks source link

JoiSchemaCustomization is missing in index.d.ts file #21

Closed marmotz closed 2 years ago

marmotz commented 2 years ago

Could you please fix it to use this decorator in Typescript projects ?

Thank you

rlittolff-onatera commented 2 years ago

Thank you !

whefter commented 2 years ago

Released, v1.8.2. Should be available in a couple of minutes. Note that it is also possible to use the JoiSchemaCustomization exported from joi-class-decorators, this package just re-exports it for convenience.

marmotz commented 2 years ago

Yes that's what I did in the meantime but it was a little weird to have this decorator imported in a different way