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/",