(_defaultValue: T)
| 9 | import type { StandardSchemaV1 } from "@standard-schema/spec"; |
| 10 | |
| 11 | function makeType<T>(_defaultValue: T): StandardSchemaV1<T> { |
| 12 | return { |
| 13 | "~standard": { |
| 14 | version: 1, |
| 15 | vendor: "codemix", |
| 16 | validate: (value) => { |
| 17 | return { value: value as T }; |
| 18 | }, |
| 19 | }, |
| 20 | }; |
| 21 | } |
| 22 | |
| 23 | const schema = { |
| 24 | vertices: { |
no outgoing calls
no test coverage detected