homebridge-config-ui-x
Version:
A web based management, configuration and control platform for Homebridge
10 lines (9 loc) • 723 B
TypeScript
import { Controller } from '@nestjs/common/interfaces';
import { ContextId } from '../injector/instance-wrapper';
export declare abstract class ContextCreator {
abstract createConcreteContext<T extends any[], R extends any[]>(metadata: T, contextId?: ContextId, inquirerId?: string): R;
getGlobalMetadata?<T extends any[]>(contextId?: ContextId, inquirerId?: string): T;
createContext<T extends any[], R extends any[]>(instance: Controller, callback: (...args: any[]) => any, metadataKey: string, contextId?: ContextId, inquirerId?: string): R;
reflectClassMetadata<T>(instance: Controller, metadataKey: string): T;
reflectMethodMetadata<T>(callback: (...args: any[]) => any, metadataKey: string): T;
}