---
url: /api/graphql/apollo/types/interfaces/type-apollo-custom-server-cb.md
description: api documentation of ApolloCustomServerCB from @tsed/apollo
---

## Usage

```typescript
import { ApolloCustomServerCB } from "@tsed/graphql/apollo/src/interfaces/ApolloSettings";
```

> See [/packages/graphql/apollo/src/interfaces/ApolloSettings.ts](https://github.com/tsedio/tsed/blob/v8.38.2/packages/graphql/apollo/src/interfaces/ApolloSettings.ts#L0-L0).

## Overview

```ts
type ApolloCustomServerCB<TContext extends ApolloContext> = (config: ApolloServerOptions<TContext>) => ApolloServer<TContext>;
```
