TypeScript-DOM-lib-generator icon indicating copy to clipboard operation
TypeScript-DOM-lib-generator copied to clipboard

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

Open Brian-Pob opened this issue 5 months ago • 0 comments

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

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

Have Tried The Latest Releases

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

Additional Context

No response

Brian-Pob avatar Sep 23 '25 18:09 Brian-Pob