opsinjs

OpsinErrorParams

The values a message template asks for, keyed by placeholder name.

How this is generated

Source: lib/opsinjs.ts. Script: scripts/build-reference.mts. Command: pnpm run generate.

Everything below is copied from the symbol, so a page is improved by improving its doc comment. The API index says why there is a page per symbol and what these pages still do not carry.

OpsinErrorParams

The values a message template asks for, keyed by placeholder name.

Values are stringified as they are: a number arrives as a number so the message does not have to decide how to format it, and no value is ever rounded, unit-converted or localised on its way into a warning. A warning that reformats what it was given is a warning that can disagree with the screen it is complaining about.

KindDeclared in
typelib/opsinjs.ts
export type OpsinErrorParams = Record<string, string | number>

On this page