(_defaultValue: T)
| 17 | |
| 18 | // Helper to create type |
| 19 | function makeType<T>(_defaultValue: T): StandardSchemaV1<T> { |
| 20 | return { |
| 21 | "~standard": { |
| 22 | version: 1, |
| 23 | vendor: "test", |
| 24 | validate: (value) => ({ value: value as T }), |
| 25 | }, |
| 26 | }; |
| 27 | } |
| 28 | |
| 29 | // Simple schema for testing |
| 30 | const testSchema = { |
no outgoing calls
no test coverage detected