keyPath

tcmts.cli.diff.keyPath · #qdjbfi7t · term · runs anywhere

import { TYPE_SUFFIX } from "#codebase/tcmts/cli/diff";

export const keyPath = (key: string) => (key.endsWith(TYPE_SUFFIX) ? key.slice(0, -TYPE_SUFFIX.length) : key)

uses

used by