Skip to content

Commit

Permalink
♻️ (AuthDialogDrawer.tsx, OffKeyAuthSignIn.tsx): update mutation resu…
Browse files Browse the repository at this point in the history
…lt type to support string or undefined

🔧 (tsconfig.lib.json): simplify types array in compilerOptions for clarity and maintainability
  • Loading branch information
sebpalluel committed Jun 10, 2024
1 parent 942e043 commit 4e6df66
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export interface ConnectProps {
}

type ConnectWalletMutationType = UseMutationResult<
void,
string | undefined,
Error,
ConnectProps,
unknown
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export interface ConnectProps {
}

type ConnectWalletMutationType = UseMutationResult<
void,
string | undefined,
Error,
ConnectProps,
unknown
Expand Down
8 changes: 1 addition & 7 deletions libs/features/unlock/shopify/tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,7 @@
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "../../../../dist/out-tsc",
"types": [
"node",
"@nx/react/typings/cssmodule.d.ts",
"@nx/react/typings/image.d.ts",
"next",
"@nx/next/typings/image.d.ts"
]
"types": ["node"]
},
"exclude": [
"jest.config.ts",
Expand Down

0 comments on commit 4e6df66

Please sign in to comment.