Skip to content

Commit

Permalink
fix(di): fixed types
Browse files Browse the repository at this point in the history
  • Loading branch information
vsavkin committed Jul 17, 2015
1 parent 1386977 commit 2f08ed8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions modules/angular2/src/di/decorators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,24 +46,24 @@ export interface SelfFactory {
* Factory for creating {@link ParentMetadata}.
*/
export interface ParentFactory {
({self: boolean}?): any;
new ({self: boolean}?): ParentMetadata;
(visibility?: {self: boolean}): any;
new (visibility?: {self: boolean}): ParentMetadata;
}

/**
* Factory for creating {@link AncestorMetadata}.
*/
export interface AncestorFactory {
({self: boolean}?): any;
new ({self: boolean}?): AncestorMetadata;
(visibility?: {self: boolean}): any;
new (visibility?: {self: boolean}): AncestorMetadata;
}

/**
* Factory for creating {@link UnboundedMetadata}.
*/
export interface UnboundedFactory {
({self: boolean}?): any;
new ({self: boolean}?): UnboundedMetadata;
(visibility?: {self: boolean}): any;
new (visibility?: {self: boolean}): UnboundedMetadata;
}

/**
Expand Down

0 comments on commit 2f08ed8

Please sign in to comment.