Files
Alex van AndelandGitHub 6f62c6ad5d refactor: Typescript fixes and updates for bumping ts version to 5.8.2 (#19690)
* 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
2025-03-05 09:17:08 -03:00

6 lines
223 B
TypeScript

import type { ReadonlyURLSearchParams } from "next/navigation";
export const isBookingDryRun = (searchParams: URLSearchParams | ReadonlyURLSearchParams) => {
return searchParams.get("cal.isBookingDryRun") === "true";
};