Invalid typeof comparison string
Compare typeof results only to known typeof strings.
#Metadata
#Why it matters
typeof returns a fixed set of strings; other comparisons are always false.
#Remediation
Compare against a valid typeof result or use a different type guard (for example Array.isArray).
#Repository path
The generated metadata points to critiq-rules/libs/rules/catalog/rules/typescript/ts.correctness.invalid-typeof-comparison.rule.yaml.