From fb3a08ea0e584cf4bf5671ac90b628db089dc80f Mon Sep 17 00:00:00 2001 From: Dion <39664950+Dionysusnu@users.noreply.github.com> Date: Wed, 14 Feb 2024 13:26:03 +0100 Subject: [PATCH] Remove isReservedRoactClassField --- src/LuauAST/util/isReservedClassField.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/LuauAST/util/isReservedClassField.ts b/src/LuauAST/util/isReservedClassField.ts index 5872bf1..2c21698 100644 --- a/src/LuauAST/util/isReservedClassField.ts +++ b/src/LuauAST/util/isReservedClassField.ts @@ -3,9 +3,3 @@ const LUAU_RESERVED_CLASS_FIELDS = new Set(["__index", "new"]); export function isReservedClassField(id: string) { return LUAU_RESERVED_CLASS_FIELDS.has(id); } - -const ROACT_RESERVED_CLASS_FIELDS = new Set(["init"]); - -export function isReservedRoactClassField(id: string) { - return ROACT_RESERVED_CLASS_FIELDS.has(id); -}