---
url: /api/specs/schema/types/components/mappers/default/function-next-mapper.md
description: api documentation of nextMapper from @tsed/schema
---

## Usage

```typescript
import { nextMapper } from "@tsed/schema";
```

> See [/packages/specs/schema/src/components/mappers/default/nextMapper.ts](https://github.com/tsedio/tsed/blob/v8.37.1/packages/specs/schema/src/components/mappers/default/nextMapper.ts#L0-L0).

## Overview

```ts
function nextMapper(input: JsonSchema | Type | any, options: JsonSchemaOptions): any;
```
