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

Properties

name: string

Property name.

type:
| "object"
| "function"
| "undefined"
| "string"
| "number"
| "boolean"
| "symbol"
| "accessor"
| "bigint"

Object type. Accessor means that the property itself is an accessor property. (PropertyPreviewType enum)

optional
value: string

User-friendly property value string.

optional
valuePreview: ObjectPreview

Nested value preview.

optional
subtype:
| "array"
| "null"
| "node"
| "regexp"
| "date"
| "map"
| "set"
| "weakmap"
| "weakset"
| "iterator"
| "generator"
| "error"

Object subtype hint. Specified for object type values only. (PropertyPreviewSubtype enum)