@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
Parameter | Type | Description |
---|---|---|
target | Injectable | |
property | string | number | |
descriptor | PropertyDescriptor | number |
void