diff --git a/package.json b/package.json index a9b441d..37bbb36 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,7 @@ ], "scripts": { "build": "build-ts lib", + "check-all": "yarn cleanup && yarn typecheck && yarn test", "cleanup": "yarn format && yarn lint-fix", "format": "sort-package-json && yarn prettify", "postinstall": "husky || true", diff --git a/tsconfig.json b/tsconfig.json index a1cb027..aa3e73a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,6 +3,7 @@ "allowSyntheticDefaultImports": true, "alwaysStrict": true, "declaration": true, + "erasableSyntaxOnly": true, "esModuleInterop": true, "importHelpers": false, "module": "NodeNext",