Skip to content

Commit d2b5d84

Browse files
fix(typings): Change Ng1ViewDeclaration.controller type to IInjectable|string
Closes #3089
1 parent 0a19376 commit d2b5d84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng1/interface.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ export interface Ng1ViewDeclaration extends _ViewDeclaration {
311311
*
312312
* See: [[Ng1Controller]] for information about component-level router hooks.
313313
*/
314-
controller?: (Function|string);
314+
controller?: (IInjectable|string);
315315

316316
/**
317317
* A controller alias name.

0 commit comments

Comments
 (0)