Skip to content

Commit 0069329

Browse files
committed
fix(compiler): fix type of generated createInternal method.
1 parent 1a824ba commit 0069329

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/angular2/src/compiler/view_compiler/view_builder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ function createViewClass(view: CompileView, renderCompTypeVar: o.ReadVarExpr,
435435
[o.SUPER_EXPR.callFn(superConstructorArgs).toStmt()]);
436436

437437
var viewMethods = [
438-
new o.ClassMethod('createInternal', [new o.FnParam(rootSelectorVar.name, o.STRING_TYPE)],
438+
new o.ClassMethod('createInternal', [new o.FnParam(rootSelectorVar.name, o.DYNAMIC_TYPE)],
439439
generateCreateMethod(view), o.importType(Identifiers.AppElement)),
440440
new o.ClassMethod(
441441
'injectorGetInternal',

0 commit comments

Comments
 (0)