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