OpaqueToken
class deprecated
| npm Package | @angular/core |
|---|---|
| Module | import { OpaqueToken } from '@angular/core'; |
| Source | core/src/di/injection_token.ts |
Deprecation Notes
since v4.0.0 because it does not support type information, use InjectionToken<?> instead.
Overview
class OpaqueToken {
constructor(_desc: string)
protected _desc: string
toString(): string
} Subclasses
-
InjectionToken
Constructor
constructor(_desc: string)
Members
protected _desc: string
toString(): string
© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v4.angular.io/api/core/OpaqueToken