Skip to content

Incorrect MDN link for requestAnimationFrame in lib.dom.d.ts #2154

@Brian-Pob

Description

@Brian-Pob

Summary

The MDN link for requestAnimationFrame in lib.dom.d.ts links to the wrong MDN page

Expected vs. Actual Behavior

Current Link:
https://developer.mozilla.org/en-US/docs/Web/API/DedicatedWorkerGlobalScope/requestAnimationFrame

Should Link To:
https://developer.mozilla.org/en-US/docs/Web/API/Window/requestAnimationFrame

The issue is present even when specifically using window.requestAnimationFrame()

Playground Link

No response

Browser Support

  • This API is supported in at least two major browser engines (not two Chromium-based browsers).

Have Tried The Latest Releases

  • This issue applies to the latest release of TypeScript.
  • This issue applies to the latest release of @types/web.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions