w3c / window-management

Window Management API
https://www.w3.org/TR/window-management/
Other
95 stars 25 forks source link

[Question] Typescript Support #103

Closed argmichael closed 2 years ago

argmichael commented 2 years ago

Hello! This is a very useful feature. Thank you for that. However, I was just wondering if there is already a plan to support this in Typescript? Am I asking the right team or is that a question for the Typescript team? Thank you very much!

reillyeon commented 2 years ago

This is a question for the Typescript community. The API Is available to Typescript code, the compiler just doesn't know how to type-check it. The Typescript compiler contains a built-in set of typings for the standard Javascript and DOM APIs. In the past I have contributed typings for new web platform features that are still in incubation to the DefinitelyTyped project as I believe the Typescript team requires broad browser support for an API before adding typings to the compiler itself.

argmichael commented 2 years ago

Okay! Thank you very much! Appreciate your answer!