-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: export types and rename useSafe return type (#17)
* chore: Add hook types to exports Adding paramter and return types of hooks to exports. * Extends exports by SafeProvider and SafeContext types * fix: Rename useSafe hook's return type to `UseSafeReturnType`
- Loading branch information
Showing
3 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
export { | ||
useConfirmTransaction, | ||
useSafe, | ||
useSendTransaction, | ||
useUpdateOwners, | ||
useUpdateThreshold | ||
} from '@/hooks/index.js' | ||
export * from '@/hooks/useSafe.js' | ||
export * from '@/hooks/useConfirmTransaction.js' | ||
export * from '@/hooks/useSendTransaction.js' | ||
export * from '@/hooks/useUpdateOwners/index.js' | ||
export * from '@/hooks/useUpdateThreshold.js' | ||
|
||
export * from '@/types/index.js' | ||
export { SafeProvider } from './SafeProvider.js' | ||
export { SafeContext } from './SafeContext.js' | ||
|
||
export * from './SafeProvider.js' | ||
export { SafeContext, SafeContextType } from './SafeContext.js' | ||
export { createConfig } from './createConfig.js' |