( f: (ast: SchemaAST.AST, description: Description) => Description, g: (ast: SchemaAST.AST, path: ReadonlyArray<PropertyKey>) => Description )
| 360 | let counter = 0 |
| 361 | |
| 362 | function wrapGetDescription( |
| 363 | f: (ast: SchemaAST.AST, description: Description) => Description, |
| 364 | g: (ast: SchemaAST.AST, path: ReadonlyArray<PropertyKey>) => Description |
| 365 | ): (ast: SchemaAST.AST, path: ReadonlyArray<PropertyKey>) => Description { |
| 366 | return (ast, path) => f(ast, g(ast, path)) |
| 367 | } |
| 368 | |
| 369 | function parseMeta(ast: SchemaAST.AST): [SchemaAST.SchemaIdAnnotation | undefined, Record<string | symbol, unknown>] { |
| 370 | const jsonSchema = SchemaAST.getJSONSchemaAnnotation(ast).pipe( |
no test coverage detected