UNPKG

@illandril/foundryvtt-types

Version:

Type definitions for the Foundry VTT client, used by Illandril's modules

14 lines (12 loc) 311 B
export type AnyFieldType = Partial<Record<string, foundry.data.fields.DataField>>; declare global { namespace foundry { namespace data { namespace fields { class SchemaField<T extends AnyFieldType = AnyFieldType> extends DataField { get fields(): T; } } } } }