Skip to content

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

Merged
aboutlo merged 1 commit intofastify:masterfrom
leorossi:remove-double-schemaoptions-interface-declaration
Sep 9, 2023
Merged

fix(types): Removes duplicate interface SchemaOptions declaration#226
aboutlo merged 1 commit intofastify:masterfrom
leorossi:remove-double-schemaoptions-interface-declaration

Conversation

@leorossi
Copy link
Contributor

@leorossi leorossi commented Sep 8, 2023

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.

Signed-off-by: Leonardo Rossi <leonardo.rossi@gmail.com>
Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@aboutlo aboutlo merged commit 6c323a5 into fastify:master Sep 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants