Skip to content
GitHub

StringMessageKey

type alias in meocord/common Since 4.1.0

type StringMessageKey<C> =
  | StringKeysOver<C, NamedKeys<C>>
  | (string extends keyof C ? StringKeysOver<C, string> : never)

The keys whose message is a single string rather than plural forms, with or without {params}.

See also