mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
ee24230231
Differential Revision: https://phabricator.services.mozilla.com/D228588 |
||
---|---|---|
.. | ||
index.d.ts | ||
lib.gecko.dom.d.ts | ||
lib.gecko.nsresult.d.ts | ||
lib.gecko.services.d.ts | ||
lib.gecko.tweaks.d.ts | ||
lib.gecko.xpcom.d.ts | ||
package.json | ||
README | ||
tsconfig.json |
# 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