mirror of
https://github.com/hanzoai/calendar.git
synced 2026-10-30 14:46:43 +00:00
* Typescript fixes and updates for bumping ts version to 5.8.2 * Different TS versions do see an error, so @ts-ignore'ing * Attempt this fix for ignoring createDecipher/createCipher fns * Remove @ts-expect-error
6 lines
223 B
TypeScript
6 lines
223 B
TypeScript
import type { ReadonlyURLSearchParams } from "next/navigation";
|
|
|
|
export const isBookingDryRun = (searchParams: URLSearchParams | ReadonlyURLSearchParams) => {
|
|
return searchParams.get("cal.isBookingDryRun") === "true";
|
|
};
|