(_defaultValue: T)
| 9 | |
| 10 | // Helper to create type |
| 11 | function makeType<T>(_defaultValue: T): StandardSchemaV1<T> { |
| 12 | return { |
| 13 | "~standard": { |
| 14 | version: 1, |
| 15 | vendor: "test", |
| 16 | validate: (value) => ({ value: value as T }), |
| 17 | }, |
| 18 | }; |
| 19 | } |
| 20 | |
| 21 | // Schema for path function testing |
| 22 | const testSchema = { |