From 2dc7c31f0daf7b5e9b82c9797bd9fa2d86abda85 Mon Sep 17 00:00:00 2001 From: Adam Azad Date: Sun, 2 May 2021 14:12:38 +0300 Subject: [PATCH 1/2] Include types --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 740edde..c83a824 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,8 @@ "files": [ "LICENSE.md", "README.md", - "dist/" + "dist/", + "types/" ], "keywords": [ "dxdao", From 621b9ce09d65d46aef5cad6e0ae6679ac230fd2a Mon Sep 17 00:00:00 2001 From: Adam Azad Date: Sun, 2 May 2021 14:13:43 +0300 Subject: [PATCH 2/2] Include declarations in build --- tsconfig.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tsconfig.json b/tsconfig.json index fd51c12..a8baa86 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -20,6 +20,8 @@ "emitDecoratorMetadata": true, "experimentalDecorators": true, "resolveJsonModule": true, + "declaration": true, + "declarationDir": "./types", "baseUrl": "." }, "exclude": ["node_modules"],