diff --git a/packages/types/tools/copy-ast-spec.ts b/packages/types/tools/copy-ast-spec.ts index 0288453a3100..59bbf1e4b93f 100644 --- a/packages/types/tools/copy-ast-spec.ts +++ b/packages/types/tools/copy-ast-spec.ts @@ -56,4 +56,7 @@ async function main(): Promise { ]); } -void main(); +main().catch(error => { + console.error(error); + process.exitCode = 1; +}); diff --git a/packages/typescript-estree/project.json b/packages/typescript-estree/project.json index a3e44b64373d..fe32123b5505 100644 --- a/packages/typescript-estree/project.json +++ b/packages/typescript-estree/project.json @@ -1,5 +1,5 @@ { "root": "packages/typescript-estree", "type": "library", - "implicitDependencies": [] + "implicitDependencies": ["@typescript-eslint/types"] }