From b08b69d602fd7ed83a33865f5c17d8dfdb65f9df Mon Sep 17 00:00:00 2001 From: vczh Date: Wed, 13 Oct 2021 23:08:32 -0700 Subject: [PATCH] This bug does not exist, the second argument should be {}of T, instead of {}as T --- TODO.md | 1 - 1 file changed, 1 deletion(-) diff --git a/TODO.md b/TODO.md index a3497c0d..6f98931e 100644 --- a/TODO.md +++ b/TODO.md @@ -16,7 +16,6 @@ https://zhuanlan.zhihu.com/p/39369370 - Collection literal `{a b c}` should react to the "receiving type" if the receiving type is a known collection type. - So that it is able to do `DealWithObservableList({1 2 3});` -- `new(name: string, items: observe X^[]) { this.Name = name; this.Items = items; }` doesn't work for `items`. - `let X = Y in (F(X.a.b.c))` reports `X does not exist in the current scope` in binding property value - while `F((let X = Y.a.b).c)` works