Microsoft/TypeScript

window.opener should not be typed as any

Open

#49.415 aperta il 7 giu 2022

Vedi su GitHub
 (0 commenti) (8 reazioni) (0 assegnatari)TypeScript (6726 fork)batch import
BugDomain: lib.d.tsHelp Wanted

Metriche repository

Star
 (48.455 star)
Metriche merge PR
 (Merge medio 6g 17h) (9 PR mergiate in 30 g)

Descrizione

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

Guida contributor