mirror of
https://github.com/facebook/lexical.git
synced 2025-08-23 08:13:19 +08:00
Autogenerate TypeScript declaration files (#2359)
* Remove .d.ts and fix type errors * Fix failing test * Upgrade roll up to remove maxlisteners warning * Refactor type generation and make build script run in sequence to avoid OOM errors in GitHub actions * Small change * Fix playground TS errors
This commit is contained in:
@ -13,6 +13,7 @@ const {LEXICAL_PKG, DEFAULT_PKGS} = require('./npm/packages');
|
||||
|
||||
const packages = [LEXICAL_PKG, ...DEFAULT_PKGS];
|
||||
packages.forEach((pkg) => {
|
||||
fs.removeSync(path.resolve(`./.ts-temp`));
|
||||
fs.removeSync(path.resolve(`./packages/${pkg}/dist`));
|
||||
fs.removeSync(path.resolve(`./packages/${pkg}/npm`));
|
||||
});
|
||||
|
Reference in New Issue
Block a user