Open History to see the last commit
Type Alias: StrategyOptions<T>#
type StrategyOptions<T> = T extends DebounceStrategy ? DebounceStrategyOptions : T extends QueueStrategy ? QueueStrategyOptions : T extends ThrottleStrategy ? ThrottleStrategyOptions : T extends BatchStrategy ? BatchStrategyOptions : never;
Defined in: packages/db/src/strategies/types.ts:122
Extract the options type from a strategy
Type Parameters#
T#
T extends Strategy