Skip to content

Commit

Permalink
Remove unnecessary use of NonNullable
Browse files Browse the repository at this point in the history
  • Loading branch information
ryangoree committed Feb 7, 2025
1 parent e1a0d54 commit a813975
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/drift/src/client/contract/Contract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -345,10 +345,7 @@ export type ContractConfig<
TAbi extends Abi = Abi,
TAdapter extends Adapter = Adapter,
TCache extends SimpleCache = SimpleCache,
TClient extends Client<NonNullable<TAdapter>, TCache> = Client<
NonNullable<TAdapter>,
TCache
>,
TClient extends Client<TAdapter, TCache> = Client<TAdapter, TCache>,
> = Eval<
ContractParams<TAbi> & ContractClientOptions<TAdapter, TCache, TClient>
>;
Expand Down

0 comments on commit a813975

Please sign in to comment.