Type Alias RestrictedTableEntry<T, K>
RestrictedTableEntry: {
[Prop in keyof T as Prop extends K ? Prop : never]: ProcessedTableEntry<
T,
>[Prop]
}
[Prop in keyof T as Prop extends K ? Prop : never]: ProcessedTableEntry<
T,
>[Prop]
}
Type Parameters
- T extends TableEntry
- K extends TableEntryKeys<T>
A table entry with content restricted by K. Allows all entries through if K is null. Should always be applied with a processed table entry.