checkCloudflareOptions
Validates the options; throws a TypeError naming the bad field.
Validates the options; throws a TypeError naming the bad field.
Import#
ts
import { checkCloudflareOptions } from "@shadow-js/dusk/cloudflare";
Signature#
ts
function checkCloudflareOptions(options: CloudflareAdapterOptions): Required<
Omit<CloudflareAdapterOptions, "compatibilityFlags">
> & {
compatibilityFlags: readonly string[];
}