# PromiseSchema

> This document is the Markdown version of [valibot.dev/api/PromiseSchema/](https://valibot.dev/api/PromiseSchema/). For the complete documentation index, see [llms.txt](https://valibot.dev/llms.txt).

Promise schema interface.

## Generics

- `TMessage` `extends ErrorMessage<PromiseIssue> | undefined`

## Definition

- `PromiseSchema` `extends BaseSchema<Promise<unknown>, Promise<unknown>, PromiseIssue>`
  - `type` `'promise'`
  - `reference` `typeof promise`
  - `expects` `'Promise'`
  - `message` `TMessage`
