---
url: /reference/api/TypeAlias.WithEnabled.md
---
# Type Alias: WithEnabled\<T>

```ts
type WithEnabled<T> = boolean | undefined | CIOption | (T & object)
```

Defined in: [src/config/types.ts:141](https://github.com/rolldown/tsdown/blob/c6e737efc52b9afdd1e87db0fe5277638457f58d/src/config/types.ts#L141)

## Type Parameters

### T

`T`
