Overwolf Electron packages type definition files for autocompletion and documentation purposes.
To install this package, simply run
$ npm i --save-dev @overwolf/ow-electron-packages-types
In newer versions of ow-electron, this package should be automatically bundled in.
To use this package in your Typescript project, simply import the relevant members from any relevant files
import "@overwolf/ow-electron-packages-types";
Alternatively, you can add it directly to your tsconfig file, like so:
{
"compilerOptions":{
...,
"types": [
...,
"@overwolf/ow-electron-packages-types"
...
]
...,
}
...
}
This way, it will always be available in all of your files, even without an explicit import.