---
id: fast-foundation.newinstanceof
title: newInstanceOf variable
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

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

## newInstanceOf variable

A decorator that indicates that a new instance should be injected.

<b>Signature:</b>

```typescript
newInstanceOf: (key: any) => any
```

## Remarks

The instance is not internally cached with a resolver as newInstanceForScope does.
