Type definitions for your Firefox Addon SDK addon written using TypeScript.
Currently, only the High-level APIs are typed. These should suffice for many use cases.
- Copy the code in Firefox-AddonSDK.d.ts to a file in your project
- Add a reference at the very top of your .ts files to the file, like this:
/// <reference path="./path/to/jpm.d.ts" />
The typings intentionally omit the deprecated addon-page and widget APIs. Use the ui modules instead.