Part: {
    key: string;
    type: "part" | "replacement";
    value: any;
}

Represents a part of the string that the SplitParts class is working with. Each part has a key, a value, and a type.

Type declaration

  • key: string
  • type: "part" | "replacement"
  • value: any