createClientModule<Defined in: packages/modelence/src/client/module.ts:88 Creates a typed client accessor for a module’s public configs, queries, and mutations. UseTModule>(moduleName):object
import type to reference the module so no server code is bundled on the client.
Arg and return types for queries and mutations are inferred automatically from the
server-side handler signatures.