Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Callable

import type { Callable } from "https://raw.githubusercontent.com/worker-tools/middleware/master/utils/common-types.ts";
type Callable<T> = T | (() => T);

§Type Parameters

§Type

§
T | (() => T)
[src]