/Firefox-Addon-SDK-DefinitelyTyped

Type definitions for your Firefox Addon SDK addon written using TypeScript

Primary LanguageTypeScript

Firefox Addon SDK TypeScript Definitions

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.

Usage

  1. Copy the code in Firefox-AddonSDK.d.ts to a file in your project
  2. Add a reference at the very top of your .ts files to the file, like this:

/// <reference path="./path/to/jpm.d.ts" />

Omissions

The typings intentionally omit the deprecated addon-page and widget APIs. Use the ui modules instead.