Interface: DefineFieldWithDeps()<Deps>
Defined in: core/src/definitions/define-field.ts:50
The function defineFieldWithDeps returns: it takes the options once the dependency type is fixed.
Type Parameters
| Type Parameter |
|---|
Deps |
ts
DefineFieldWithDeps<Schema>(options): FieldDefinitionOf<Schema, Deps>;Defined in: core/src/definitions/define-field.ts:51
The function defineFieldWithDeps returns: it takes the options once the dependency type is fixed.
Type Parameters
| Type Parameter |
|---|
Schema extends StandardSchemaV1<unknown, unknown> |
Parameters
| Parameter | Type |
|---|---|
options | DefineFieldOptions<Schema, Deps> |
Returns
FieldDefinitionOf<Schema, Deps>