method ICloudflareBindings.get
ICloudflareBindings.get<T>(name: string): T

A binding of a type this package has no facade for — Hyperdrive, Vectorize, Workers AI, Analytics Engine, and anything Cloudflare ships next.

Type Parameters

The caller's own type for the binding

Parameters

name: string

The binding name

Return Type

The binding

Throws

CloudflareBindingMissingError

When the binding is absent

Usage

import { type ICloudflareBindings } from "cloudflare-plugin/src/index.ts";