TypeError: Cannot read properties of undefined (reading 'startsWith')
Open
- Dominant language
- JavaScript
- Stars
- 3.3k
- Forks
- 99
- Avg merge
- 14h 22m
- Merged PRs (30d)
- 6
Description
We are observing a `TypeError` from this line:
```.ts
const elideShift = event.code.startsWith('Key') && event.shiftKey && event.key.toUpperCase() === event.key;
```
See: [Sentry](https://sentry.io/organizations/github/issues/?project=1890375&query=is%3Aunresolved+github%2Fhotkey&sort=new&statsPeriod=1h)
Though this was first seen 9 months ago, looks like there has been a recent spike.
Contributor guide
Assessment
This issue has not been assessed yet.