Microsoft/TypeScript

window.opener should not be typed as any

Open

#49,415 opened on 2022年6月7日

GitHub で見る
 (0 comments) (8 reactions) (0 assignees)TypeScript (6,726 forks)batch import
BugDomain: lib.d.tsHelp Wanted

Repository metrics

Stars
 (48,455 stars)
PR merge metrics
 (平均マージ 6d 17h) (30d で 9 merged PRs)

説明

lib Update Request

Configuration Check

My compilation target is esnext and my lib is ["ESNext", "dom"].

Missing / Incorrect Definition

window.opener should not be typed as any. I might be missing something obvious, but this has already been reported and supposedly fixed at #42433 more than a year ago, but it still seems to be typed as any, both on my local version of Typescript (version 4.7.3) and at https://github.com/microsoft/TypeScript/blob/main/lib/lib.dom.d.ts#L17209

コントリビューターガイド