Skip to content

Commit

Permalink
Merge pull request #70 from webdevhome/v2.1-add-group-color-support
Browse files Browse the repository at this point in the history
Cast JSON file to target type
  • Loading branch information
alinnert committed Aug 13, 2024
2 parents 356e015 + 231bdce commit 518b809
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview"
"preview": "vite preview",
"typecheck": "tsc"
},
"dependencies": {
"@mdi/react": "^1.4.0",
Expand Down
2 changes: 1 addition & 1 deletion src/links.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export interface Links {
}

export const links: Links = {
items: linksData.items,
items: linksData.items as LinkGroup[],
}

export function useAllLinks(): LinkItem[] {
Expand Down

0 comments on commit 518b809

Please sign in to comment.