Skip to content

Commit

Permalink
change unknown to never
Browse files Browse the repository at this point in the history
  • Loading branch information
UCDFiddes committed Jun 16, 2024
1 parent 5efe0ee commit 5c9f7f3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hive-bedrock-data",
"version": "1.1.16",
"version": "1.1.17",
"description": "A repo to store and calculate data and type definitions from The Hive: Bedrock Edition server.",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/types/api/api.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,5 @@ interface AllLeaderboards<T extends Timeframe> {
[Game.TheBridge]: API.BridgeLeaderboard<T>;
[Game.TreasureWars]: API.WarsLeaderboard<T>;
[Game.BedWars]: API.BedLeaderboard<T>;
[Game.ParkourWorlds]: unknown;
[Game.ParkourWorlds]: never;
}
2 changes: 1 addition & 1 deletion src/types/api/games/parkour.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ interface StatisticVariants {
}
export type ParkourStatistics<T extends Timeframe> = T extends Timeframe.AllTime
? StatisticVariants[T]
: unknown;
: never;

0 comments on commit 5c9f7f3

Please sign in to comment.