1088a78079
When a symbols is only used as a type, require `import type {…}`
8 lines
240 B
TypeScript
8 lines
240 B
TypeScript
import type { API } from 'homebridge'
|
|
|
|
import { PLATFORM_NAME } from './settings'
|
|
import { PrometheusExporterPlatform } from './platform'
|
|
|
|
export = (api: API): void => {
|
|
api.registerPlatform(PLATFORM_NAME, PrometheusExporterPlatform)
|
|
}
|