1.0.1 • Published 1 year ago

@onetyped/typescript v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@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.0.16

2 years ago

0.0.17

2 years ago

0.0.18

2 years ago

0.0.19

2 years 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