---
lang: en
title: 'API docs: rest.controllerclass'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/rest
permalink: /doc/en/lb4/apidocs.rest.controllerclass.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/rest](./rest.md) &gt; [ControllerClass](./rest.controllerclass.md)

## ControllerClass type

Controller class

<b>Signature:</b>

```typescript
export declare type ControllerClass<T extends ControllerInstance> = Constructor<T>;
```
<b>References:</b> [ControllerInstance](./rest.controllerinstance.md)<!-- -->, [Constructor](./context.constructor.md)


