Type alias Path

Path: {
    field: Key;
    kind: "field";
} | {
    index: number;
    kind: "index";
}

A path of an object or an array

Type declaration

  • field: Key
  • kind: "field"

Type declaration

  • index: number
  • kind: "index"

Generated using TypeDoc