Skip to main content Link Search Menu Expand Document (external link)

PartName overview

This module implements a union type that represents the possible names of the parts of the string representation of a value. Each part name identifies a specific visual element (e.g. property key, separator, bracket) so that a PPStyleMap can assign a distinct style to each one.


Table of contents


Models

Type (type alias)

Type of a PPPartName

Signature

export type Type =
  | "ByPassed"
  | "PrimitiveValue"
  | "PropertyKey"
  | "PrototypeMarks"
  | "KeyValueSeparator"
  | "InBetweenPropertySeparator"
  | "NonPrimitiveValueMarks"
  | "Tab"
  | "Tag"