Adventure-Bot / Adventure-Bot/adventure-bot

Enable `noUncheckedIndexedAccess`

Open
#43 0 comments 0 reactions 1 assignee Claimed by @jakiestfu View on GitHub
build typescript
Dominant language
TypeScript
Stars
7
Forks
6
PR merge metrics
No merged PRs in 30d

Description

Prevent errors like this:
```ts
const charactersById: Record = {};
charactersById['foo'].hp+=1
```

https://github.com/Adventure-Bot/adventure-bot/blob/main/src/store/slices/characters.ts#L46-L49

https://www.typescriptlang.org/tsconfig#noUncheckedIndexedAccess

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.