Skip to content

Commit

Permalink
Merge branch 'release/v0.24.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
holtwick committed Aug 25, 2024
2 parents 5a50953 + 99bbab7 commit e88c2a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "zeed",
"type": "module",
"version": "0.24.2",
"version": "0.24.3",
"description": "🌱 Simple foundation library",
"author": {
"name": "Dirk Holtwick",
Expand Down
4 changes: 2 additions & 2 deletions src/common/schema/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
export interface TypeProps {
}

export type TypeNames = 'string' | 'number' | 'boolean' | 'object' | 'any' // | 'null' | 'undefined' | 'symbol' | 'bigint'
export type TypeNames = 'string' | 'number' | 'boolean' | 'object' | 'any' | string // | 'null' | 'undefined' | 'symbol' | 'bigint'

export interface Type<T = unknown> {
type: TypeNames

_optional?: boolean
_default?: T | (() => T)
_object?: SchemaDefinitionObject
_object?: SchemaDefinitionObject<Type<T>>
_union?: Type[]

_check: (obj: any) => boolean
Expand Down

0 comments on commit e88c2a3

Please sign in to comment.