Skip to content

Instantly share code, notes, and snippets.

@alexzuza
Created July 8, 2019 05:26
Show Gist options
  • Save alexzuza/918127f1158c9a57f0310876001b0578 to your computer and use it in GitHub Desktop.
Save alexzuza/918127f1158c9a57f0310876001b0578 to your computer and use it in GitHub Desktop.
t23
const _ctor1: <T = any>(init: Partial<Pick<i1.NgForOf<T>, "ngForOf" | "ngForTrackBy" | "ngForTemplate">>) => i1.NgForOf<T> = (null!);
function _tcb1(ctx: i0.AppComponent) {
if (true) {
var _t1 = _ctor1({ ngForOf: "3" });
var _t2: any = (null!);
if (i1.NgForOf.ngTemplateContextGuard(_t1, _t2)) {
var _t3 = _t2.$implicit;
var _t4 = _t2.indix; // error TS2551: Property 'indix' does not exist on type 'NgForOfContext<string>'. Did you mean 'index'?
var _t5 = document.createElement("div");
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment