Skip to content

Commit

Permalink
Add return type
Browse files Browse the repository at this point in the history
  • Loading branch information
heathsnee committed Jul 19, 2024
1 parent c01815a commit f6d0267
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/extension/src/pages/app/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ if (APP_RADIX) {
}
}

export const router = createHashRouter([
export const router: ReturnType<typeof createHashRouter> = createHashRouter([
{
path: '/',
element: <ExtensionLayout />,
Expand Down
2 changes: 1 addition & 1 deletion apps/extension/tsconfig.node.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"compilerOptions": {
"composite": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"allowSyntheticDefaultImports": true,
"moduleResolution": "node",

"tsBuildInfoFile": ".build-cache/tsconfig.node.tsbuildinfo"
},
Expand Down

0 comments on commit f6d0267

Please sign in to comment.