---
url: /reference/api/Interface.UserConfigFnContext.md
---
# Interface: UserConfigFnContext

Defined in: [src/config/types.ts:687](https://github.com/rolldown/tsdown/blob/4e612b53c3ee410664a4a421e66c7f9ab70e15cc/src/config/types.ts#L687)

## Properties

### ci

```ts
ci: boolean
```

Defined in: [src/config/types.ts:688](https://github.com/rolldown/tsdown/blob/4e612b53c3ee410664a4a421e66c7f9ab70e15cc/src/config/types.ts#L688)

***

### rootConfig?

```ts
rootConfig?: UserConfig;
```

Defined in: [src/config/types.ts:689](https://github.com/rolldown/tsdown/blob/4e612b53c3ee410664a4a421e66c7f9ab70e15cc/src/config/types.ts#L689)

***

### watch

```ts
watch: object
```

Defined in: [src/config/types.ts:690](https://github.com/rolldown/tsdown/blob/4e612b53c3ee410664a4a421e66c7f9ab70e15cc/src/config/types.ts#L690)

#### close

```ts
close: () => Promise<void>
```

##### Returns

`Promise`<`void`>

#### restart

```ts
restart: () => Promise<TsdownHandle>
```

##### Returns

`Promise`<[`TsdownHandle`](Interface.TsdownHandle.md)>
