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

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

## Properties

### ci

```ts
ci: boolean
```

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

***

### rootConfig?

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

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

***

### watch

```ts
watch: object
```

Defined in: [src/config/types.ts:691](https://github.com/rolldown/tsdown/blob/9f98be3c9c6627ed1c4e5bdec3d8a18e5463c4c8/src/config/types.ts#L691)

#### close

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

##### Returns

`Promise`<`void`>

#### restart

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

##### Returns

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