Const
The symbol for the compile method that transforms a schema into compiler nodes. This method is called during schema compilation to generate validation functions.
class MySchema { [PARSE](propertyName: string, refs: RefsStore, options: ParserOptions) { return { type: 'literal', subtype: 'string' } }} Copy
class MySchema { [PARSE](propertyName: string, refs: RefsStore, options: ParserOptions) { return { type: 'literal', subtype: 'string' } }}
The symbol for the compile method that transforms a schema into compiler nodes. This method is called during schema compilation to generate validation functions.