UNPKG

@loopback/docs

Version:
24 lines (16 loc) 772 B
--- lang: en title: 'API docs: core.serviceinterface' keywords: LoopBack 4.0, LoopBack 4 sidebar: lb4_sidebar editurl: https://github.com/strongloop/loopback-next/tree/master/packages/core permalink: /doc/en/lb4/apidocs.core.serviceinterface.html --- <!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@loopback/core](./core.md) &gt; [ServiceInterface](./core.serviceinterface.md) ## ServiceInterface type Representing an interface for services. In TypeScript, the `interface` does not have reflections at runtime. We use a string, a symbol or a Function as the type for the service interface. <b>Signature:</b> ```typescript export declare type ServiceInterface = string | symbol | Function; ```