Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion language-extensions/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ declare type LuaTableSet<TTable extends AnyTable, TKey extends AnyNotNil, TValue
* @param TKey The type of the key to use to access the table.
* @param TValue The type of the value to assign to the table.
*/
declare type LuaTableSetMethod<TKey extends AnyNonNil, TValue> = ((key: TKey, value: TValue) => void) &
declare type LuaTableSetMethod<TKey extends AnyNotNil, TValue> = ((key: TKey, value: TValue) => void) &
LuaExtension<"__luaTableSetMethodBrand">;

/**
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,13 @@
"scripts": {
"build": "tsc && npm run build-lualib",
"build-lualib": "node build-lualib.js",
"pretest": "npm run lint && npm run build-lualib",
"pretest": "npm run lint && npm run check:language-extensions && npm run build-lualib",
"test": "jest",
"lint": "npm run lint:eslint && npm run lint:prettier",
"lint:prettier": "prettier --check . || (echo 'Run `npm run fix:prettier` to fix it.' && exit 1)",
"lint:eslint": "eslint . --ext .js,.ts",
"fix:prettier": "prettier --write .",
"check:language-extensions": "tsc language-extensions/index.d.ts",
"preversion": "npm run build && npm test",
"postversion": "git push && git push --tags"
},
Expand Down