X Tutup
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion modules/angular2/src/core/metadata/di.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import {DependencyMetadata} from 'angular2/src/core/di/metadata';
export class AttributeMetadata extends DependencyMetadata {
constructor(public attributeName: string) { super(); }

get token() {
get token(): AttributeMetadata {
// Normally one would default a token to a type of an injected value but here
// the type of a variable is "string" and we can't use primitive type as a return value
// so we use instance of Attribute instead. This doesn't matter much in practice as arguments
Expand Down
X Tutup