Injector

Stable

Class

What it does

Injector interface

How to use

const injector: Injector = ...; injector.get(...);

Class Overview

class Injector {
static THROW_IF_NOT_FOUND : _THROW_IF_NOT_FOUND
static NULL : Injector
get(token: Type<T>|InjectionToken<T>, notFoundValue?: T) : T

}

Class Description

Static Members

Class Details

exported from core/index, defined in core/src/di/injector.ts