Back to Homebridge

Interface PlatformPluginConstructor<Config>

docs/interfaces/PlatformPluginConstructor.html

1.11.41.5 KB
Original Source
  • PlatformPluginConstructor

Interface PlatformPluginConstructor<Config>

Export types for basically everything but the actual API implementation

interface PlatformPluginConstructor<
Config extends PlatformConfig = PlatformConfig,
> {
new PlatformPluginConstructor(
logger: Logging,
config: Config,
api: API,
): DynamicPlatformPlugin | StaticPlatformPlugin | IndependentPlatformPlugin;
}

Type Parameters

Index

Constructors

constructor

Constructors

constructor

new PlatformPluginConstructor(
logger: Logging,
config: Config,
api: API,
): DynamicPlatformPlugin | StaticPlatformPlugin | IndependentPlatformPlugin

Parameters

Returns DynamicPlatformPlugin | StaticPlatformPlugin | IndependentPlatformPlugin

Settings

Member Visibility

  • Inherited

ThemeOSLightDark

On This Page

Constructors constructor