Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno/cli/tsc/dts/lib.deno.ns.d.ts>Deno.UnsafeCallbackDefinition

A modern runtime for JavaScript and TypeScript.
Latest
interface Deno.UnsafeCallbackDefinition
import { type Deno } from "https://deno.land/x/deno@v2.0.4/cli/tsc/dts/lib.deno.ns.d.ts";
const { UnsafeCallbackDefinition } = Deno;

Definition of a unsafe callback function.

Type Parameters

optional
Parameters extends readonly NativeType[] = readonly NativeType[]
optional
Result extends NativeResultType = NativeResultType

Properties

parameters: Parameters

The parameters of the callbacks.

result: Result

The current result of the callback.