Page Contents

Home > @loopback/core > ServiceInterface

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.

Signature:

export type ServiceInterface = string | symbol | Function;