astro-ghostcms/.pnpm-store/v3/files/f8/f5b801f44bf4b599148c7d17051...

10 lines
491 B
Plaintext
Raw Normal View History

2024-02-14 14:10:47 +00:00
/**
* Pure function - doesn't mutate either parameter!
* Uses the default options and overrides with the options provided by the user
* @param defaultOptions the defaults
* @param userOptions the user opts
* @returns the options with defaults
*/
declare function applyDefault<TUser extends readonly unknown[], TDefault extends TUser>(defaultOptions: Readonly<TDefault>, userOptions: Readonly<TUser> | null): TDefault;
export { applyDefault };
//# sourceMappingURL=applyDefault.d.ts.map