fix(ngc): gather metadata for OpaqueToken

Fixes #10482
This commit is contained in:
Alex Eagle 2016-08-03 15:34:18 -07:00 committed by Alex Rickabaugh
parent 790362e243
commit c8d53d71a3
1 changed files with 3 additions and 0 deletions

View File

@ -6,6 +6,8 @@
* found in the LICENSE file at https://angular.io/license
*/
import {Injectable} from './decorators';
/**
* Creates a token that can be used in a DI Provider.
*
@ -28,6 +30,7 @@
* error messages.
* @stable
*/
@Injectable() // so that metadata is gathered for this class
export class OpaqueToken {
constructor(private _desc: string) {}