(description: string)
| 27 | type JsonSchema = Record<string, unknown>; |
| 28 | |
| 29 | const str = (description: string): JsonSchema => ({ type: "string", description }); |
| 30 | const num = (description: string): JsonSchema => ({ type: "number", description }); |
| 31 | const int = (description: string): JsonSchema => ({ type: "integer", description }); |
| 32 |