Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface default.Runtime.PrivatePropertyDescriptor
import { type default } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { PrivatePropertyDescriptor } = default.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).