microsoft / microsoft/TypeScript
Typings for navigator.connection gone since TS 4.8
Open
Bug
Domain: lib.d.ts
Help Wanted
Needs Human Review
- Dominant language
- Go
- Stars
- 111k
- Forks
- 14.3k
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 117
Description
⚙ Compilation target
es5
⚙ Library
es6 dom dom.iterable es2016 es2017 esnext
Missing / Incorrect Definition
navigator.connection is missing after updating Typescript from 4.5 to 5.3. I checked the other versions and it seems it got removed since version 4.8. However, I couldn't find this change in the breaking changes docs.
Sample Code
const c = navigator.connection;
Documentation Link
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.