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",
"version": "1.0.4",
"version": "1.0.5",
"description": "",
"files": [
"./dist/**/*.js",

View File

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

View File

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