From 8e435046ca29a761bca1025418b7a114ec38f413 Mon Sep 17 00:00:00 2001 From: regisrex Date: Sun, 1 Oct 2023 18:59:52 +0200 Subject: [PATCH] chore: added typescript support --- package.json | 1 + tsconfig.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 7a7819b..2806387 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "version": "0.0.3", "description": "Full Text Search Algorithm", "main": "dist/index.js", + "types": "dist/index.d.ts", "repository": { "type": "git", "url": "https://github.com/regisrex/string-hunt.git" diff --git a/tsconfig.json b/tsconfig.json index eb8cfff..3362235 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,6 +7,7 @@ "esModuleInterop": true, "forceConsistentCasingInFileNames": true, "strict": true, - "skipLibCheck": true + "skipLibCheck": true, + "declaration": true } }