Skip to content

Commit

Permalink
fix(typings): Change Ng1ViewDeclaration.controller type to IInjectabl…
Browse files Browse the repository at this point in the history
…e|string

Closes #3089
  • Loading branch information
christopherthielen committed Nov 1, 2016
1 parent 0a19376 commit d2b5d84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ng1/interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ export interface Ng1ViewDeclaration extends _ViewDeclaration {
*
* See: [[Ng1Controller]] for information about component-level router hooks.
*/
controller?: (Function|string);
controller?: (IInjectable|string);

/**
* A controller alias name.
Expand Down

0 comments on commit d2b5d84

Please sign in to comment.