JoshuaKGoldberg / JoshuaKGoldberg/TypeStat
Handle uninitialized variables as part of strictNullChecking
Open
status: accepting prs
type: bug
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 47
- Avg merge
- 15h 55m
- Merged PRs (30d)
- 21
Description
```typescript
let results: string[];
immediately(() => {
results = ["foo"];
});
results.length;
```
This should change to `let results!: string[];` if strictNullChecking is enabled.
Contributor guide
Assessment
This issue has not been assessed yet.