Created
July 8, 2019 05:22
-
-
Save alexzuza/007d46314e9c7a1c8f366b5940460a7b to your computer and use it in GitHub Desktop.
t17
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const _ctor1: (init: Partial<Pick<i1.ChildComponent, "prop">>) => i1.ChildComponent = (null!); | |
function _tcb1(ctx: i0.AppComponent) { | |
if (true) { | |
var _t1 = document.createElement("app-child"); | |
var _t2 = _ctor1({ prop: "text" }); // error TS2322: Type 'string' is not assignable to type 'number'. | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment