Microsoft/TypeScript

Typings for navigator.connection gone since TS 4.8

Open

#56,962 建立於 2024年1月5日

在 GitHub 查看
 (2 留言) (6 反應) (0 負責人)TypeScript (6,726 fork)batch import
BugDomain: lib.d.tsHelp Wanted

倉庫指標

Star
 (48,455 star)
PR 合併指標
 (平均合併 6天 17小時) (30 天內合併 9 個 PR)

描述

⚙ 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

貢獻者指南