lib.dom.d.ts window interfaces missing "gamepadconnected" and "gamepaddisconnected" #39425
Labels
Bug
A bug in TypeScript
Domain: lib.d.ts
The issue relates to the different libraries shipped with TypeScript
Help Wanted
You can do this
PursuitFellowship
Help wanted from Pursuit fellowship; others please avoid until Dec 19
Milestone
TypeScript Version:
4.0.0-dev.20200703
Search Terms:
gamepad OR gamepadconnected
Code
1:
2:
Expected behavior:
No errors.
Actual behavior:
See errors ☝️
Playground Link: https://www.typescriptlang.org/play?target=99&ts=4.0.0-dev.20200703#code/O4SwdgJg9sB0CGEIFEBuBTMAXAMiAzlpugE4AUA5AObwC26ADogMZRhjrNEQUA0ABOgzZ+AXgB8-VmHxQANulhyoVMkMxZYNekwgBKPQG4AUKEgwESNBryFi5anUYs2HLuh4C1wrAC5+AOJOutbYemKS0rIKSireGlrBiAYmQA
lib.dom.d.ts
hasGamepad
,GamepadEvent
, etc., but the related window interfaces lack references to the Gamepad APIThe text was updated successfully, but these errors were encountered: