UNPKG

496 BTypeScriptView Raw
1/**
2 * Used in functions where either a list of arguments, a single array of arguments, or a
3 * dictionary of arguments can be returned. Returns an object with an `args` property with
4 * the arguments in an array, if it is a dictionary, it will also return the `keys` in another
5 * property.
6 */
7export declare function argsArgArrayOrObject<T, O extends Record<string, T>>(args: T[] | [O] | [T[]]): {
8 args: T[];
9 keys: string[] | null;
10};
11//# sourceMappingURL=argsArgArrayOrObject.d.ts.map
\No newline at end of file