Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Protocol.Runtime.PrivatePropertyDescriptor
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/mod.ts";
const { PrivatePropertyDescriptor } = Protocol.Runtime;

Object private field descriptor.

Properties

name: string

Private property name.

optional
value: RemoteObject

The value associated with the private property.

optional
get: RemoteObject

A function which serves as a getter for the private property, or undefined if there is no getter (accessor descriptors only).

optional
set: RemoteObject

A function which serves as a setter for the private property, or undefined if there is no setter (accessor descriptors only).