reflectGetReplace `Reflect.get` with typed property access. Parse dynamic input into a named domain type before reading it.small-rules/no-reflect-getDisallow Reflect.get; use typed property access or parse dynamic input into a domain type.
Ported from dmmulroy/anti-slop. Prefer typed property access. If the key or owner is dynamic, parse it into a domain type before reading it.
reflectGetReplace `Reflect.get` with typed property access. Parse dynamic input into a named domain type before reading it.This rule does not accept options.
const value = Reflect.get(owner, key);const value = owner[key];