@r1tsu/payload
Version:
10 lines • 360 B
TypeScript
import type { PayloadRequestWithData } from '../types/index.js';
type Args = {
defaultValue: unknown;
locale: string | undefined;
req: PayloadRequestWithData;
value?: unknown;
};
declare const getValueWithDefault: ({ defaultValue, req, value }: Args) => unknown;
export default getValueWithDefault;
//# sourceMappingURL=getDefaultValue.d.ts.map