# Type Alias: TRPCPromise<TData, TErrorShape>

> 

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

Defined in: [packages/client/src/safe.ts:12](https://github.com/trpc/trpc/blob/7c907acfd8b31929214792e3b8c2ad7a8ac72563/packages/client/src/safe.ts#L12)

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` |
