Skip to content

Commit ff5af26

Browse files
add parent argument to Instance.new (#238)
* add parent argument to Instance.new * Regenerate Co-authored-by: JohnnyMorganz <[email protected]>
1 parent 0b2075b commit ff5af26

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

scripts/dumpRobloxTypes.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -955,7 +955,14 @@ def printDataTypeConstructors(types: DataTypesDump):
955955
"Name": f'"{inst}"',
956956
"Category": "PRIMITIVE_SERVICE_NAME",
957957
},
958-
}
958+
},
959+
{
960+
"Name": "parent",
961+
"Type": {
962+
"Name": "Instance?",
963+
"Category": "Class",
964+
},
965+
},
959966
],
960967
"ReturnType": {"Name": inst, "Category": "PRIMITIVE_SERVICE"},
961968
},

0 commit comments

Comments
 (0)