diff --git a/package.json b/package.json index 69f256e..74399a4 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "zeed", "type": "module", - "version": "0.24.2", + "version": "0.24.3", "description": "🌱 Simple foundation library", "author": { "name": "Dirk Holtwick", diff --git a/src/common/schema/types.ts b/src/common/schema/types.ts index 268e9b7..ad3b716 100644 --- a/src/common/schema/types.ts +++ b/src/common/schema/types.ts @@ -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 { type: TypeNames _optional?: boolean _default?: T | (() => T) - _object?: SchemaDefinitionObject + _object?: SchemaDefinitionObject> _union?: Type[] _check: (obj: any) => boolean