---
description: Modify TypeScript definitions for model fields.
---

# Refined Types

To enable this optional feature, add the `refinedTypes` element to your [optionalFeatures](../../api-documentation/configuration-reference/optional-features) array.

## Feature Effect

This feature modifies the generated Prisma Client to change the type of all fields defined inside the [fieldTypes](../../api-documentation/configuration-reference/field-types) configuration option to their mapped type.
