matthewhudson / current-device

📱 The easiest way to write conditional CSS and/or JavaScript based on device operating system (iOS, Android, Blackberry, Windows, Firefox OS, MeeGo), orientation (Portrait vs. Landscape), and type (Tablet vs. Mobile).
https://matthewhudson.github.io/current-device/
MIT License
3.95k stars 586 forks source link

add typescript definition file #204

Closed LeeKatz1 closed 5 years ago

LeeKatz1 commented 5 years ago

Adding a typescript definition file for the package.

matthewhudson commented 5 years ago

@LeeKatz1 Thanks, especially for responding to @PeterKottas #181 .

I'm trying to learn enough TS to test this myself :)