From 7e71150ab8007f3d0ffea68a716cd946c7a4d60b Mon Sep 17 00:00:00 2001 From: luzzif Date: Sun, 9 Aug 2020 13:45:25 +0200 Subject: [PATCH] fix: fix .d.ts file not being correctly detected --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index ae31109..32741b8 100644 --- a/package.json +++ b/package.json @@ -3,11 +3,12 @@ "version": "2.10.0", "description": "A wrapper which can be used to interact with Binance's API. Entirely developed in TypeScript.", "main": "build/index.js", + "types": "index.d.ts", "engines": { "node": ">=8.4.0" }, "scripts": { - "build": "tsc && cp index.d.ts build", + "build": "tsc", "lint:code": "eslint \"src/**/*.ts\"", "lint:prettier": "prettier -l src/**/*.ts", "lint:commit-message": "commitlint -e",