You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The extend() method in the sdk-starter-kit does not work well with typing across different files where the extend variable is not defined. Currently, we only export a SafeClient type, which complicates the use of extensions in the projects using the kit.
For example, we had to implement a special SafeClient in the safe-react-hooks to resolve TypeScript errors.
Proposed solution
Export the main types from the sdk-starter-kit, such as a SafeOperationsClient type, that can be used in other projects without needing to define it explicitly.
The text was updated successfully, but these errors were encountered:
Context
The
extend()
method in thesdk-starter-kit
does not work well with typing across different files where the extend variable is not defined. Currently, we only export aSafeClient
type, which complicates the use of extensions in the projects using the kit.For example, we had to implement a special
SafeClient
in thesafe-react-hooks
to resolve TypeScript errors.Proposed solution
Export the main types from the
sdk-starter-kit
, such as aSafeOperationsClient
type, that can be used in other projects without needing to define it explicitly.The text was updated successfully, but these errors were encountered: