Is the package @types/firefox-webext-browser maintained by Firefox team?

I think I’ve read that Firefox wants to maintain TypeScript type definitions for webextensions, but I can’t find it. Maybe it was for Thunderbird?

I’m looking for updated version that would support new ESR 128 version, since current version 120 is a bit outdated:

3 Likes

Hey @juraj.masiar that package is not maintained by the Firefox team.

Thanks – Ed

1 Like

Thanks Ed, I’ve got confused by the Thunderbird thread long ago where they were discussing this:

I had updated the package using DefinitelyTyped Firefox WebExt Browser.

Before DefinitelyTyped was converted into a pnpm monorepo, there was the following comment in the index.d.ts file:

// Type definitions for non-npm package WebExtension Development in FireFox 111.0
// Project: https://developer.mozilla.org/en-US/Add-ons/WebExtensions
// Definitions by: Jasmin Bom <https://github.com/jsmnbom>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.4
// Generated using script at github.com/jsmnbom/definitelytyped-firefox-webext-browser

The DefinitelyTyped Firefox WebExt Browser project still needs to work with a few adaptations.

2 Likes