Skip to content

try out typebox#221

Closed
fratzinger wants to merge 1 commit intofeathersjs:dovefrom
fratzinger:dove-dev/typebox
Closed

try out typebox#221
fratzinger wants to merge 1 commit intofeathersjs:dovefrom
fratzinger:dove-dev/typebox

Conversation

@fratzinger
Copy link
Copy Markdown
Member

@fratzinger fratzinger commented Sep 26, 2022

As discussed, this is a tryout of Typebox: https://github.com/sinclairzx81/typebox

It's not fully tested.

Related: feathersjs/feathers#2762


export type MessagesResult = Infer<typeof messagesResultSchema>;

export const messagesQuerySchema = querySyntax(messagesResultSchema)
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Type error:

Die exportierte Variable "messagesQuerySchema" besitzt oder verwendet den Namen "Modifier" aus dem externen Modul ""/Users/fred/Documents/programmierung/_test/feathers-chat/typescript-api/node_modules/@sinclair/typebox/typebox"", kann aber nicht benannt werden.ts(4023)

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.

1 participant