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

Đang mở Phù hợp với người mới
#2,154 0 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
1/5
Thời gian dự kiến
Dưới một giờ
Mức phù hợp với người mới
68/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
typescript
Lĩnh vực
tooling

Hướng nghiên cứu

Mở lib.dom.d.ts và tìm khai báo requestAnimationFrame cùng liên kết MDN hiện tại của nó. So sánh liên kết này với URL Window/requestAnimationFrame dự kiến; hoàn tất khi liên kết trỏ đến trang MDN được chỉ định, bao gồm cả đối với window.requestAnimationFrame().

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

lib.d.ts bug
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

Ngôn ngữ chính
TypeScript
Star
740
Fork
474
Merge trung bình
2 ngày 8 giờ
Pull request đã merge (30 ngày)
15

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của microsoft/TypeScript-DOM-lib-generator

Tất cả issue của microsoft/TypeScript-DOM-lib-generator

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.