Skip to content

Type Editor


Type Editor / @type-editor/changeset / default-encoder

default-encoder

Variables

VariableDescription

DefaultEncoder

The default token encoder for diff operations.

  • Node start tokens are encoded as strings containing the node name
  • Characters are encoded as their character code
  • Node end tokens are encoded as negative type IDs