Skip to main content
Version: 1.x

@microsoft/fast-foundation > newInstanceOf

newInstanceOf variable

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

Signature:
newInstanceOf: (key: any) => any

Remarks

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