fix: noImplicitSelf

This commit is contained in:
2025-06-04 00:45:36 +09:00
parent 1d014d8128
commit daf311688b
3 changed files with 4 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "create-computercraft", "name": "create-computercraft",
"version": "1.0.4", "version": "1.0.5",
"description": "", "description": "",
"files": [ "files": [
"./dist/**/*.js", "./dist/**/*.js",

View File

@@ -13,6 +13,7 @@
"tstl": { "tstl": {
"luaTarget": "5.4", "luaTarget": "5.4",
"noHeader": true, "noHeader": true,
"noImplicitSelf": true,
"luaBundle": "bundle.lua", "luaBundle": "bundle.lua",
"luaBundleEntry": "src/main.ts" "luaBundleEntry": "src/main.ts"
}, },

View File

@@ -12,7 +12,8 @@
}, },
"tstl": { "tstl": {
"luaTarget": "JIT", "luaTarget": "JIT",
"buildMode": "library" "buildMode": "library",
"noImplicitSelf": true
}, },
"include": ["src/**/*"] "include": ["src/**/*"]
} }