1.0.1 • Published 1 year ago
@onetyped/typescript v1.0.1
@onetyped/typebox
onetyped integration for the TypeScript AST/TypeChecker
Usage
import { number, object, string } from '@onetyped/core'
import { toTypeNode } from '@onetyped/typescript'
const schema = object({
name: string(),
age: number(),
})
// print TypeScript AST type representation of schema
console.log(toTypeNode(schema))
Output:
{
name: string
age: number
}
1.0.1
1 year ago
1.0.0
1 year ago
0.1.1-canary.ece1c02lk6r
2 years ago
0.1.1-canary.823dc80
2 years ago
0.1.1-canary.9d768f3
2 years ago
0.0.16
2 years ago
0.0.17
2 years ago
0.1.1-canary.2df8e02lkmd
1 year ago
0.0.18
2 years ago
0.0.19
2 years ago
1.0.1-canary.980a702llc8
1 year ago
0.2.1-canary.27fed8clkvc
1 year ago
1.0.2-canary.2dfb1delosg
1 year ago
0.2.1-canary.41b7ab6lkv9
1 year ago
0.1.0
2 years ago
0.2.0
1 year ago
0.0.14
2 years ago
0.0.15
2 years ago
0.0.13
2 years ago
0.0.10
2 years ago
0.0.11
2 years ago
0.0.12
2 years ago
0.0.9
2 years ago
0.0.8
2 years ago
0.0.7
2 years ago
0.0.6
2 years ago
0.0.5
2 years ago
0.0.4
2 years ago
0.0.3
2 years ago
0.0.2
2 years ago
0.0.1
2 years ago