You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current behavior
Before the release candidate the following compiled without issue:
export class Foo {
constructor(private renderer: Renderer) {
const tag = 'p';
const element = /* some kind of HTMLElement */;
let el = this.renderer.createElement(element, tag);
}
}
Since the release candidate this now throws a compile error:
error TS2346: Supplied parameters do not match any signature of call target.
The third parameter DebugInfo I believe should be an optional parameter.
Expected/desired behavior
Be able to compile with just element and tag provided.