diff --git a/package.json b/package.json index a3f5155..7242c4d 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "version": "1.0.0", "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 } }