fastify / fluent-json-schema

A fluent API to generate JSON schemas
MIT License
495 stars 58 forks source link

fix(types): Removes duplicate interface SchemaOptions declaration #226

Closed leorossi closed 1 year ago

leorossi commented 1 year ago

Including this library into a Platformatic project led to a compile error reported here

I see there was a duplicate interface declaration for SchemaOptions one exported, one local.

I think it was a mistake so I removed. the local one. With this fix TypeScript compiler is happy.