MessageCode
A diagnostic code: one key of MESSAGES, such as "WRITE_IN_MEMO".
A diagnostic code: one key of MESSAGES, such as "WRITE_IN_MEMO". ShadowError
carries one in its code field, and warn takes one.
Import#
ts
import type { MessageCode } from "@shadow-js/core/extend";
Signature#
ts
type MessageCode = keyof typeof MESSAGES