Skip to content

Commit

Permalink
Correct types for MemoryStoreSortedMap#GetAsync (#1218)
Browse files Browse the repository at this point in the history
https://create.roblox.com/docs/reference/engine/classes/MemoryStoreSortedMap#GetAsync

`Key value, or nil -- if there's no item with the specified key.`
  • Loading branch information
Brian1KB authored Feb 12, 2025
1 parent 7c933ea commit 59f6c57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/customDefinitions.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@ interface MemoryStoreSortedMap extends Instance {
exclusiveLowerBound?: { key?: string; sortKey?: string | number },
exclusiveUpperBound?: { key?: string; sortKey?: string | number },
): Array<{ key: string; value: unknown; sortKey?: string | number }>;
GetAsync(this: MemoryStoreSortedMap, key: string): LuaTuple<[key?: string, sortKey?: string | number]>;
GetAsync(this: MemoryStoreSortedMap, key: string): LuaTuple<[value?: unknown, sortKey?: string | number]>;
}

/** @server */
Expand Down

0 comments on commit 59f6c57

Please sign in to comment.