This commit is contained in:
sinclair
2022-12-20 11:46:05 +09:00
parent 34d6fb2ed1
commit 999d5bc35b
+8 -8
View File
@@ -9,11 +9,11 @@ import { Value, ValuePointer } from '@sinclair/typebox/value'
import { Type, Kind, Static, TSchema } from '@sinclair/typebox'
const T = Type.Object({
x: Type.Number(),
y: Type.Number(),
z: Type.Number(),
})
type T = Static<typeof T>
console.log(T)
x: Type.Number(),
y: Type.Number(),
z: Type.Number(),
})
type T = Static<typeof T>
console.log(T)