---
id: fast-foundation.ignore
title: ignore() function
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-foundation](./fast-foundation.md) &gt; [ignore](./fast-foundation.ignore.md)

## ignore() function

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

<b>Signature:</b>

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

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  target | [Injectable](./fast-foundation.injectable.md) |  |
|  property | string \| number |  |
|  descriptor | PropertyDescriptor \| number |  |

<b>Returns:</b>

void
