diff --git a/package.json b/package.json index 6f65827..0f91048 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "create-computercraft", - "version": "1.0.4", + "version": "1.0.5", "description": "", "files": [ "./dist/**/*.js", diff --git a/templates/executable/tsconfig.json b/templates/executable/tsconfig.json index aa41494..85aca78 100644 --- a/templates/executable/tsconfig.json +++ b/templates/executable/tsconfig.json @@ -13,6 +13,7 @@ "tstl": { "luaTarget": "5.4", "noHeader": true, + "noImplicitSelf": true, "luaBundle": "bundle.lua", "luaBundleEntry": "src/main.ts" }, diff --git a/templates/library/tsconfig.json b/templates/library/tsconfig.json index 92d4527..41e3619 100644 --- a/templates/library/tsconfig.json +++ b/templates/library/tsconfig.json @@ -12,7 +12,8 @@ }, "tstl": { "luaTarget": "JIT", - "buildMode": "library" + "buildMode": "library", + "noImplicitSelf": true }, "include": ["src/**/*"] }