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

Defined in: [src/config/types.ts:684](https://github.com/rolldown/tsdown/blob/eb40c95efdf7f98d0aa7b0178a3b7322986bd419/src/config/types.ts#L684)

## Properties

### ci

```ts
ci: boolean
```

Defined in: [src/config/types.ts:685](https://github.com/rolldown/tsdown/blob/eb40c95efdf7f98d0aa7b0178a3b7322986bd419/src/config/types.ts#L685)

***

### rootConfig?

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

Defined in: [src/config/types.ts:686](https://github.com/rolldown/tsdown/blob/eb40c95efdf7f98d0aa7b0178a3b7322986bd419/src/config/types.ts#L686)

***

### watch

```ts
watch: object
```

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

#### close

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

##### Returns

`Promise`<`void`>

#### restart

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

##### Returns

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