Skip to content

Commit

Permalink
feat: add additional type utils to API entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
ssalbdivad committed Oct 16, 2023
1 parent 1a4bd21 commit db0e268
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions dev/configs/.changeset/big-lizards-begin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"arktype": patch
---

Add inferDefinition, validateDefinition and PrecompiledDefaults to primary entrypoint
7 changes: 6 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
export { scope } from "./scopes/scope.js"
export { type, ark, arkScope } from "./scopes/ark.js"
export type { Infer } from "./parse/definition.js"
export type { PrecompiledDefaults } from "./scopes/ark.js"
export type {
Infer,
validateDefinition,
inferDefinition
} from "./parse/definition.js"
export type { Scope, Space } from "./scopes/scope.js"
export {
arrayOf,
Expand Down

0 comments on commit db0e268

Please sign in to comment.