Colorfulstan / typed-overwolf

typescript definitions for overwolf API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

THIS REPOSITORY IS CURRENTLY NOT ACTIVELY MAINTAINED.

Ideally, there will be a @types version at some point found in this repo. You still can use this type definitions, and contributions for updates are welcome.

I started using these definitions again in another project, so might do some minor updates now and then.

Overwolf is working on an officially maintained version, so I won't go out of my way to get it @types ready.

Overwolf-types

typescript definitions for overwolf API

Usage:

  1. add .d.ts to your project
  2. in files where you use overwolf, add declare const overwolf: Static on top to get typings for the global overwolf object. import additional types as needed.

There certainly are ways to declare it for your project, but I'm too lazy busy right now to recall how. Comments/Pull requests always appreciated!

originally forked gist from https://gist.github.com/danpantry/f90ec0cd48d73a0accdf

For now just using this repo for typings definition manager dependency but would like to get a maintained defintion out of this somewhen

About

typescript definitions for overwolf API