StandardSchema

Type Alias: StandardSchema<T>

ts
type StandardSchema<T> = StandardSchemaV1 & object;
type StandardSchema<T> = StandardSchemaV1 & object;

Defined in: packages/db/src/types.ts:250

The Standard Schema interface. This follows the standard-schema specification: https://github.com/standard-schema/standard-schema

Type declaration

~standard

ts
~standard: object;
~standard: object;

~standard.types?

ts
optional types: object;
optional types: object;

~standard.types.input

ts
input: T;
input: T;

~standard.types.output

ts
output: T;
output: T;

Type Parameters

T

Our Partners
Electric
Subscribe to Bytes

Your weekly dose of JavaScript news. Delivered every Monday to over 100,000 devs, for free.

Bytes

No spam. Unsubscribe at any time.

Subscribe to Bytes

Your weekly dose of JavaScript news. Delivered every Monday to over 100,000 devs, for free.

Bytes

No spam. Unsubscribe at any time.