Wocart

@wocart/theme v4.1.0


@wocart/theme / index / messageForms

Function: messageForms()

messageForms(pack, key): Record<string, string>

One message's keys — the plain key and every plural form present — to ship to a browser script.

Parameters

pack

Pack

key

string

Returns

Record<string, string>