Skip to content

Commit

Permalink
Override Highlight.Adornee property (#233)
Browse files Browse the repository at this point in the history
  • Loading branch information
TreehouseFalcon authored Nov 16, 2022
1 parent 26e3127 commit 2eada2f
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
scripts/globalTypes.d.lua linguist-generated
scripts/globalTypes.d.lua linguist-generated

scripts/globalTypes.d.lua text=auto eol=lf
7 changes: 7 additions & 0 deletions scripts/dumpRobloxTypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,9 @@
"RemoveAsync",
"SetAsync",
"UpdateAsync",
],
"Highlight": [
"Adornee"
]
}

Expand Down Expand Up @@ -419,6 +422,10 @@
"function RemoveAsync(self, key: string): (number?, DataStoreKeyInfo)",
"function SetAsync(self, key: string, value: number, userIds: { number }?, options: DataStoreSetOptions?): string",
"function UpdateAsync(self, key: string, transformFunction: ((number?, DataStoreKeyInfo) -> (number, { number }?, {}?))): (number?, DataStoreKeyInfo)",
],
# The Adornee property is optional
"Highlight": [
"Adornee: Instance?"
]
}

Expand Down
22 changes: 21 additions & 1 deletion scripts/globalTypes.d.lua

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2eada2f

Please sign in to comment.