Skip to content

Instantly share code, notes, and snippets.

@alexzuza
Created July 8, 2019 05:26
Show Gist options
  • Save alexzuza/9ddaf638fde89d741f86c4fec43ddf2f to your computer and use it in GitHub Desktop.
Save alexzuza/9ddaf638fde89d741f86c4fec43ddf2f to your computer and use it in GitHub Desktop.
t24
function _tcb1(ctx: i0.AppComponent) {
if (true) {
var _t1 = document.createElement("input");
_t1.checked = "" + ctx.checked; // error TS2322: Type 'string' is not assignable to type 'boolean'.
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment