Skip to content

Commit

Permalink
Add Encode to Parse Operation Type
Browse files Browse the repository at this point in the history
  • Loading branch information
sinclairzx81 committed Dec 4, 2024
1 parent 62d2040 commit 08c845a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/value/parse/parse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export class ParseError extends TypeBoxError {
// ------------------------------------------------------------------
// ParseRegistry
// ------------------------------------------------------------------
export type TParseOperation = 'Clone' | 'Clean' | 'Default' | 'Convert' | 'Assert' | 'Decode' | ({} & string)
export type TParseOperation = 'Clone' | 'Clean' | 'Default' | 'Convert' | 'Assert' | 'Decode' | 'Encode' | ({} & string)
export type TParseFunction = (type: TSchema, references: TSchema[], value: unknown) => unknown

// prettier-ignore
Expand Down

0 comments on commit 08c845a

Please sign in to comment.