From 0acdab66d884a4873e69b1c108e2d0e64903e024 Mon Sep 17 00:00:00 2001 From: Belladore <135602125+belladoreai@users.noreply.github.com> Date: Sun, 24 Mar 2024 20:37:26 +0200 Subject: [PATCH] TypeScript fix. --- example-demo/package.json | 2 +- package.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/example-demo/package.json b/example-demo/package.json index 00ca456..2938719 100644 --- a/example-demo/package.json +++ b/example-demo/package.json @@ -7,7 +7,7 @@ "@testing-library/jest-dom": "^5.16.5", "@testing-library/react": "^13.4.0", "@testing-library/user-event": "^13.5.0", - "llama-tokenizer-js": "^1.2.0", + "llama-tokenizer-js": "^1.2.1", "react": "^18.2.0", "react-dom": "^18.2.0", "react-scripts": "5.0.1", diff --git a/package.json b/package.json index f3603ce..aab736a 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,9 @@ { "name": "llama-tokenizer-js", - "version": "1.2.0", + "version": "1.2.1", "description": "JS tokenizer for LLaMA-based LLMs", "main": "llama-tokenizer.js", + "types": "types.d.ts", "scripts": { "test": "node test-llama-tokenizer.js" },