mirror of
https://github.com/zoriya/typebox.git
synced 2026-06-12 14:48:05 +00:00
Format
This commit is contained in:
+8
-8
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user