API/QubeeListArgs
QubeeListArgs
The arguments injectQubeeList() takes after the list
A list that declares an input requires input among the options; a list
that declares none refuses it. Spread it to wrap injectQubeeList() in a
function of your own:
function injectTable<T extends ListDefinition<ListParams>>(list: T, ...args: QubeeListArgs<T>): QubeeList<T> { return injectQubeeList(list, ...args);}Definition
Section titled “Definition”type QubeeListArgs<TList> = [ListInput<TList>] extends [never] ? [options?: QubeeListOptions & { input?: never }] : [options: QubeeListOptions & { input: QubeeListInput<TList> }]