Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/api/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ export type PermissionTable = {
* - {@link permissions.disabled}: All remaining item query modes disabled.
* @remarks This command cannot have the {@link permissions.auto} or {@link permissions.autoEnabled} permission.
*/
readonly remaining: Omit<PermissionValue, typeof permissions.auto | typeof permissions.autoEnabled>
readonly remaining: Exclude<PermissionValue, typeof permissions.auto | typeof permissions.autoEnabled>
};

/* eslint-enable @typescript-eslint/consistent-type-definitions */
4 changes: 2 additions & 2 deletions src/classes/managers/DataStorageManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ export class DataStorageManager {
* Returns item name groups for this package from data storage API.
* @param game The game name to look up item name groups for.
*/
public async fetchItemNameGroups(game: string): Promise<Record<string, string[]>> {
public async fetchItemNameGroups(game: string): Promise<Record<string, Record<string, string[]>>> {
// Get key and locally cache for faster subsequent lookups.
return await this.fetch([`_read_item_name_groups_${game}`], true);
}
Expand All @@ -177,7 +177,7 @@ export class DataStorageManager {
* Returns location name groups for this package from the data storage API.
* @param game The game name to look up location name groups for.
*/
public async fetchLocationNameGroups(game: string): Promise<Record<string, string[]>> {
public async fetchLocationNameGroups(game: string): Promise<Record<string, Record<string, string[]>>> {
// Get key and locally cache for faster subsequent lookups.
return await this.fetch([`_read_location_name_groups_${game}`], true);
}
Expand Down
Loading