Skip to content

Undeprecate navigator.platform #49683

Closed
Closed

Description

@mlesin

Bug Report

Regarding to mdn/content#14429 platform in NavigatorID interface should not be marked as deprecated.
(https://github.com/microsoft/TypeScript/blob/main/lib/lib.dom.d.ts#L10391)

🔎 Search Terms

  • navigator.platform

🕗 Version & Regression Information

  • This is the behavior in every version I tried, and I reviewed the FAQ for entries about it.

Activity

  1. added
    Bug
    Domain: lib.d.ts
    on Jun 29, 2022
  2. RyanCavanaugh commented on Sep 9, 2026

    @RyanCavanaugh
    Member

    Navigator.platform is no longer marked deprecated in the generated DOM declarations. TypeScript 4.7.4 carried the @deprecated tag; the current generator declares readonly platform: string without it. A current browser check also confirms that the property is available as a string. Closing as fixed.

  3. added
    Fixed
    Needs Human Review
    on Sep 9, 2026
  4. removed
    Needs Human Review
    on Sep 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugDomain: lib.d.tsFixed

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions