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:
John Flockton
2022-06-14 10:42:43 +01:00
committed by GitHub
parent c739c563e6
commit c26e41d595
109 changed files with 361 additions and 3169 deletions

View File

@ -1,6 +1,12 @@
{
"include": ["packages/**/*"],
"compilerOptions": {
"noEmit": false,
"declaration": true,
"emitDeclarationOnly": true,
"declarationDir": "./.ts-temp"
},
"exclude": [
"**/__tests__/**",
"node_modules/**/*",
"packages/lexical-playground/**/*",
"packages/playwright-core/**/*"