Skip to content

Commit

Permalink
Remove isReservedRoactClassField (#431)
Browse files Browse the repository at this point in the history
As per #428
  • Loading branch information
Dionysusnu authored Mar 25, 2024
1 parent 44205d5 commit 0aa1515
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/LuauAST/util/isReservedClassField.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit 0aa1515

Please sign in to comment.