Skip to content

window.open signature has a replace parameter that the docs don't have #31246

Closed
@pushkin-

Description

@pushkin-

TypeScript Version: 3.4.3

Search Terms: window open replace

Code window.open(

Intellisense shows a replace property found here in lib.dom.d.ts:

open(url?: string, target?: string, features?: string, replace?: boolean): Window | null;

However, the docs don't have such a parameter.

I did see that parameter listed here on W3Schools, but that's not a trustworthy source. Maybe it's an old parameter that was removed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScript

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions