Skip to content

Commit

Permalink
Fix TS warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jlvandenhout committed Sep 18, 2023
1 parent 4e09366 commit 4c84247
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/common/components/Switcher/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ export type Item = {
icon?: string;
};

export type Version = Item;
export type Version = Omit<Item, 'id'> & {
id?: string;
};
export type Doc = Item & {
subsection: string;
versions: Version[];
Expand Down
1 change: 1 addition & 0 deletions versionedConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ exports.buildPluginsConfig = [
subsection: 'build-layer-1',
versions: [
{
label: '',
badges: ['IOTA/Shimmer'],
},
],
Expand Down

0 comments on commit 4c84247

Please sign in to comment.