gecko-dev/tools/@types
2024-11-13 17:15:57 +00:00
..
index.d.ts Bug 1911476 - Enable basic IDE types support in toolkit/ and browser/ r=mossop 2024-08-07 02:01:58 +00:00
lib.gecko.dom.d.ts Bug 1919544 - Do not HTTPS-First upgrade URLs with http:// scheme r=mak,necko-reviewers,urlbar-reviewers,tabbrowser-reviewers 2024-11-13 17:15:57 +00:00
lib.gecko.nsresult.d.ts Bug 1903390 - Make it easy to update typelibs when changing interfaces, add instructions r=mossop,saschanaz,smaug DONTBUILD 2024-08-03 20:35:44 +00:00
lib.gecko.services.d.ts Bug 1903390 - Make it easy to update typelibs when changing interfaces, add instructions r=mossop,saschanaz,smaug DONTBUILD 2024-08-03 20:35:44 +00:00
lib.gecko.tweaks.d.ts Bug 1911476 - Enable basic IDE types support in toolkit/ and browser/ r=mossop 2024-08-07 02:01:58 +00:00
lib.gecko.xpcom.d.ts Bug 1919544 - Do not HTTPS-First upgrade URLs with http:// scheme r=mak,necko-reviewers,urlbar-reviewers,tabbrowser-reviewers 2024-11-13 17:15:57 +00:00
package.json
README Bug 1903390 - Make it easy to update typelibs when changing interfaces, add instructions r=mossop,saschanaz,smaug DONTBUILD 2024-08-03 20:35:44 +00:00
tsconfig.json Bug 1911476 - Enable basic IDE types support in toolkit/ and browser/ r=mossop 2024-08-07 02:01:58 +00:00

# Gecko typelibs

This directory contains TypeScript declarations for types and components
exposed to js on the Gecko platform. lib.gecko.*.d.ts files are generated
from xpidl and webidl sources using tools/ts/build_*.js scripts.

If you're modifying some of the interfaces or other source files, until we
find the best way to integrate this process, updating the typelibs is optional.
If you want to see the result of your changes right away, you can run:

    mach ts build && mach ts update

This will update the typelibs inside your source tree, and you can commit
them alongside your changes. Because this step is not automated, it's likely
it will pick up previous updates unrelated to your patch, in which case it
might be worth splitting out into a separate commit.

If there's an error with the process, updating the typelibs is not a blocker
for landing your patch, but please file a bug in the Linting and Formatting
component and ni?zombie.

https://bugzilla.mozilla.org/enter_bug.cgi?product=Developer+Infrastructure&component=Lint+and+Formatting