Skip to main content
Module

x/scaffold/src/deps/comlink.ts>LocalObject

scaffold your next project with style and 💗
Latest
type alias LocalObject
import { type LocalObject } from "https://deno.land/x/scaffold@0.3.0/src/deps/comlink.ts";

Takes the type of an object as a remote thread would see it through a proxy (e.g. when passed in as a function argument) and returns the type that the local thread has to supply.

This does not handle call signatures, which is handled by the more general Local<T> type.

This is the inverse of RemoteObject<T>.

Type Parameters

T

The type of a proxied object.

definition: [P in keyof T]: LocalProperty<T[P]>