diff --git a/core/5.0/math.d.ts b/core/5.0/math.d.ts index fcbfa1f..f52893b 100644 --- a/core/5.0/math.d.ts +++ b/core/5.0/math.d.ts @@ -95,6 +95,12 @@ declare namespace math { */ function min(x: number, ...numbers: number[]): number; + /** + * Returns the remainder of the division of x by y that rounds the quotient + * towards zero. (integer/float) + */ + function mod(x: number, y: number): number; + /** * The value of π. */ diff --git a/package-lock.json b/package-lock.json index 51ee9ed..a823693 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "lua-types", - "version": "2.13.0", + "version": "2.13.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "lua-types", - "version": "2.13.0", + "version": "2.13.1", "license": "MIT", "devDependencies": { "@types/jest": "^26.0.20", diff --git a/package.json b/package.json index 057c076..8b8472d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lua-types", - "version": "2.13.0", + "version": "2.13.1", "description": "TypeScript definitions for Lua standard library", "keywords": [ "lua",