---
url: >-
  https://lit-ui-router.dev/v1/reference/ui-router-server/connect/type-aliases/ConnectNext.md
---
[ui-router-server](../../index.md) / [connect](../index.md) / ConnectNext

# Type Alias: ConnectNext

```ts
type ConnectNext = (error?) => void;
```

Defined in: connect.ts:64

Connect's continuation: call with no argument to pass, with an error to fail.

## Parameters

| Parameter | Type |
| ------ | ------ |
| `error?` | `unknown` |

## Returns

`void`
