Skip to main content
Version: 1.x

@microsoft/fast-foundation > InterfaceSymbol

InterfaceSymbol type

A constant key that can be used to represent an interface to a registered dependency. The key can be used in DI registrations but also doubles as a decorator for resolving the associated, registered dependency.

Signature:
export declare type InterfaceSymbol<K = any> = (target: any, property: string, index?: number) => void;