Skip to content

Commit

Permalink
Fix type definition for OrderedDataStore:GetSortedAsync
Browse files Browse the repository at this point in the history
Fixes #480
  • Loading branch information
JohnnyMorganz committed Nov 4, 2023
1 parent 429c99f commit 16cf89e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/dumpRobloxTypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@
# So we override the method's types to use numbers instead of any
"OrderedDataStore": [
"function GetAsync(self, key: string): (number?, DataStoreKeyInfo)",
"function GetSortedAsync(self, ascending: boolean, pageSize: number, minValue: number, maxValue: number): DataStorePages",
"function GetSortedAsync(self, ascending: boolean, pageSize: number, minValue: number?, maxValue: number?): DataStorePages",
"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)",
Expand Down
2 changes: 1 addition & 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 16cf89e

Please sign in to comment.