Skip to main content
Version: 1.x

@microsoft/fast-foundation > ignore

ignore() function

A decorator that tells the container not to try to inject a dependency.

Signature:
export declare function ignore(target: Injectable, property?: string | number, descriptor?: PropertyDescriptor | number): void;

Parameters

ParameterTypeDescription
targetInjectable
propertystring | number
descriptorPropertyDescriptor | number
Returns:

void