Possible null or undefined dereference
Nullable values should be guarded before property access or invocation.
#Metadata
#Why it matters
Dereferencing a value that can still be null or undefined causes avoidable runtime failures on common unhappy paths.
#Remediation
Add an explicit guard, use optional chaining deliberately, or provide a fallback before dereferencing the value.
#Repository path
The generated metadata points to critiq-rules/libs/rules/catalog/rules/typescript/ts.correctness.possible-null-dereference.rule.yaml.