![Why getting TypeScript Eslint "Unnecessary conditional, value is always truthy eslint@typescript-eslint/no-unnecessary-condition" - Stack Overflow Why getting TypeScript Eslint "Unnecessary conditional, value is always truthy eslint@typescript-eslint/no-unnecessary-condition" - Stack Overflow](https://i.stack.imgur.com/CeOFK.png)
Why getting TypeScript Eslint "Unnecessary conditional, value is always truthy eslint@typescript-eslint/no-unnecessary-condition" - Stack Overflow
error TS2339: Property 'startsWith' does not exist on type 'string' · Issue #12383 · microsoft/TypeScript · GitHub
typescript-eslint/prefer-string-starts-ends-with.md at main · typescript -eslint/typescript-eslint · GitHub
Rule proposal: Prefer `String#startsWith()` and `String#endsWith()` · Issue #285 · typescript-eslint/typescript-eslint · GitHub
![Rule proposal: Prefer `String#startsWith()` and `String#endsWith()` · Issue #285 · typescript-eslint/typescript-eslint · GitHub Rule proposal: Prefer `String#startsWith()` and `String#endsWith()` · Issue #285 · typescript-eslint/typescript-eslint · GitHub](https://user-images.githubusercontent.com/7462525/52818377-75eaf380-305b-11e9-8b4e-af936af0019d.png)