From 74b6110ec4a6ac32a17d6fc7c7de5f1306be6df0 Mon Sep 17 00:00:00 2001 From: mincomk Date: Sat, 7 Jun 2025 13:27:06 +0900 Subject: [PATCH] fix: types --- package.json | 4 ++-- tsconfig.json | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 3c527ee..7919f86 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,11 @@ { "name": "computercraft-vs", - "version": "1.0.0", + "version": "1.0.1", "description": "", "license": "ISC", "author": "", "type": "commonjs", - "types": "./types/index.d.ts", + "types": "types/index.d.ts", "main": "./dist/main", "files": [ "dist/**/*.lua", diff --git a/tsconfig.json b/tsconfig.json index 0c6d21c..d1a66be 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,7 +4,11 @@ "target": "ESNext", "lib": ["ESNext"], "moduleResolution": "Node", - "types": ["computercraft-ts", "@typescript-to-lua/language-extensions"], + "types": [ + "computercraft-ts", + "@typescript-to-lua/language-extensions", + "./types/index" + ], "strict": true, "declaration": true, "outDir": "dist/",