Skip to content

Commit

Permalink
fix: incorrect type
Browse files Browse the repository at this point in the history
  • Loading branch information
tien committed Nov 27, 2024
1 parent a89ae03 commit 9d78175
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@ type _Metadata =
Metadata["metadata"]
: never;

export type Metadata = Extract<
INTERNAL_Metadata,
{ tag: "v14" | "v15" }
>["value"];
export type Metadata = Extract<_Metadata, { tag: "v14" | "v15" }>["value"];

export type Pallet = Metadata["pallets"][number];

Expand Down

0 comments on commit 9d78175

Please sign in to comment.