# Type Alias: TRPCPromise<TData, TErrorShape>

> 

> **TRPCPromise**\<`TData`, `TErrorShape`\>: `Promise`\<`TData`\> & `object`

Defined in: packages/client/dist/index.d.mts:125

The promise a client's `.query()` or `.mutate()` returns, tagged with
the procedure's error shape for `safe()`.

## Type declaration

### \[errorShapeTag\]

> `readonly` **\[errorShapeTag\]**: `TErrorShape`

## Type Parameters

| Type Parameter |
| ------ |
| `TData` |
| `TErrorShape` |
