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

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

[Home](./index.md) &gt; [@loopback/core](./core.md) &gt; [ServiceOrProviderClass](./core.serviceorproviderclass.md)

## ServiceOrProviderClass type

<b>Signature:</b>

```typescript
export declare type ServiceOrProviderClass<T = any> = Constructor<T | Provider<T>>;
```

