UNPKG

491 BTypeScriptView Raw
1/**
2 * Pure function - doesn't mutate either parameter!
3 * Uses the default options and overrides with the options provided by the user
4 * @param defaultOptions the defaults
5 * @param userOptions the user opts
6 * @returns the options with defaults
7 */
8declare function applyDefault<TUser extends readonly unknown[], TDefault extends TUser>(defaultOptions: Readonly<TDefault>, userOptions: Readonly<TUser> | null): TDefault;
9export { applyDefault };
10//# sourceMappingURL=applyDefault.d.ts.map
\No newline at end of file