Type alias KeyChunkSchema<Entity, Key>
KeyChunkSchema<Entity, Key>: {
get: ((entity: Entity, prevSubkeys: string[]) => Key);
length: number;
padEnd?: boolean;
}
Type declaration
-
get: ((entity: Entity, prevSubkeys: string[]) => Key)
-
- (entity: Entity, prevSubkeys: string[]): Key
-
Parameters
-
entity: Entity
-
prevSubkeys: string[]
Returns Key
-
length: number
-
Optional
padEnd?: boolean