[API reference](https://evolu.dev/docs/api-reference) › [@evolu/common](https://evolu.dev/docs/api-reference/common) › [Type](https://evolu.dev/docs/api-reference/common/Type) › Defaulted

```ts
type Defaulted<Value, Default, Original> =
  | {
      defaultUsed: false;
      value: Value;
    }
  | {
      defaultUsed: true;
      original: Original;
      value: Default;
    };
```

Defined in: [packages/common/src/Type.ts:11883](https://github.com/evoluhq/evolu/blob/dd96d79f1dbe9a49fa12ce8e0aa7d3d0177795ca/packages/common/src/Type.ts#L11883)

A value decoded by [withDefault](https://evolu.dev/docs/api-reference/common/Type/functions/withDefault) with the `preserve` strategy.

`defaultUsed` distinguishes supplied values from defaults, even when their
values are equal. `original` records the decoded absence, not the raw input
before other transformations.