@sinclair/typebox
Advanced tools
Comparing version 0.17.0 to 0.17.1
{ | ||
"name": "@sinclair/typebox", | ||
"version": "0.17.0", | ||
"version": "0.17.1", | ||
"description": "JSONSchema Type Builder with Static Type Resolution for TypeScript", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -265,9 +265,9 @@ export declare const ReadonlyOptionalModifier: unique symbol; | ||
/** `STANDARD` Make all properties in schema object required. */ | ||
Required<T extends TObject<TProperties>>(schema: T, options?: CustomOptions): TObject<TRequired<T['properties']>>; | ||
Required<T extends TObject<TProperties>>(schema: T, options?: ObjectOptions): TObject<TRequired<T['properties']>>; | ||
/** `STANDARD` Make all properties in schema object optional. */ | ||
Partial<T extends TObject<TProperties>>(schema: T, options?: CustomOptions): TObject<TPartial<T['properties']>>; | ||
Partial<T extends TObject<TProperties>>(schema: T, options?: ObjectOptions): TObject<TPartial<T['properties']>>; | ||
/** `STANDARD` Picks property keys from the given object schema. */ | ||
Pick<T extends TObject<TProperties>, K extends PropertyKeys<T['properties']>[]>(schema: T, keys: [...K], options?: CustomOptions): TObject<Pick<T['properties'], K[number]>>; | ||
Pick<T extends TObject<TProperties>, K extends PropertyKeys<T['properties']>[]>(schema: T, keys: [...K], options?: ObjectOptions): TObject<Pick<T['properties'], K[number]>>; | ||
/** `STANDARD` Omits property keys from the given object schema. */ | ||
Omit<T extends TObject<TProperties>, K extends PropertyKeys<T['properties']>[]>(schema: T, keys: [...K], options?: CustomOptions): TObject<Omit<T['properties'], K[number]>>; | ||
Omit<T extends TObject<TProperties>, K extends PropertyKeys<T['properties']>[]>(schema: T, keys: [...K], options?: ObjectOptions): TObject<Omit<T['properties'], K[number]>>; | ||
/** `STANDARD` Omits the `kind` and `modifier` properties from the given schema. */ | ||
@@ -274,0 +274,0 @@ Strict<T extends TSchema>(schema: T): T; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package