unsafeDictionaryThis dictionary's {{value}} value type gives callers no concrete value contract. Use an owner/schema-derived value type; parse external payloads before insertion.small-rules/no-unsafe-dictionary-typeDisallow object-dictionary contracts whose direct value type is unknown, any, object, {}, or a union/alias containing one of those escape hatches.
Ported from dmmulroy/anti-slop. A dictionary needs a
concrete value contract. unknown, any, object, and empty-object
values defer that contract to every reader; parse before insertion instead.
unsafeDictionaryThis dictionary's {{value}} value type gives callers no concrete value contract. Use an owner/schema-derived value type; parse external payloads before insertion.This rule does not accept options.
type Metadata = Record<string, unknown>;type Commands = Record<string, Command>;