From e0a11632b084fac012c392a733a54736e876689c Mon Sep 17 00:00:00 2001 From: HowManySmall Date: Fri, 8 Jan 2021 19:45:45 -0700 Subject: [PATCH] Fixed .rawValue compiling to :rawValue --- package.json | 2 +- src/enumerator/index.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index be3fd02..0a11789 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@rbxts/enumerator", - "version": "1.0.6", + "version": "1.0.7", "description": "enumerations in pure Luau, following an api almost identical to enumerate", "main": "out/init.lua", "types": "out/enumerator/index.d.ts", diff --git a/src/enumerator/index.d.ts b/src/enumerator/index.d.ts index 591b331..a201f5a 100644 --- a/src/enumerator/index.d.ts +++ b/src/enumerator/index.d.ts @@ -2,7 +2,7 @@ // Credit to Xuleos and Osyris for the typing. interface FakeEnum { value: T; - rawValue(): T; + rawValue(this: void): T; } interface SharedEnumerationMethods {