Returns a new contract containing only the specified groups.
The TypeScript return type is Pick<T, K> — the compiler sees exactly the
selected groups and no others. This provides full type safety on the
narrowed contract when passed to createClient() or used as a server
handler map.
Returns a new contract containing only the specified groups.
The TypeScript return type is
Pick<T, K>— the compiler sees exactly the selected groups and no others. This provides full type safety on the narrowed contract when passed tocreateClient()or used as a server handler map.