From 85e6076553c504f56e67d948748bedc6660b847f Mon Sep 17 00:00:00 2001 From: Alexander Skvortsov Date: Thu, 20 Jan 2022 04:13:50 -0500 Subject: [PATCH] fix: typings generation script --- extensions/pusher/js/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/pusher/js/package.json b/extensions/pusher/js/package.json index 45b8adc23..775c2206d 100644 --- a/extensions/pusher/js/package.json +++ b/extensions/pusher/js/package.json @@ -9,7 +9,7 @@ "format": "prettier --write src", "format-check": "prettier --check src", "clean-typings": "npx rimraf dist-typings && mkdir dist-typings", - "build-typings": "npm run clean-typings && cp -r src/@types dist-typings/@types && tsc", + "build-typings": "npm run clean-typings && tsc && [[ -e src/@types ]] && cp -r src/@types dist-typings/@types", "check-typings": "tsc --noEmit --emitDeclarationOnly false", "check-typings-coverage": "typescript-coverage-report" },