TanStack

PunctuationKey

ts
type PunctuationKey = 
  | "/"
  | "["
  | "]"
  | "\"
  | "="
  | "-"
  | ","
  | "."
  | ";"
  | "`"
  | "'"
  | "+"
  | "?"
  | "!"
  | "@"
  | "#"
  | "$"
  | "%"
  | "^"
  | "&"
  | ""
  | "("
  | ")"
  | "_"
  | "{"
  | "}"
  | "|"
  | ":"
  | "\""
  | "<"
  | ">"
  | "~";

Defined in: key.types.ts:130

Printable punctuation glyphs used in keyboard shortcuts. Matching uses the final KeyboardEvent.key glyph, independent of which layout produced it.