From 417cbc2fb56ed751c24ac2a87c8701b5f9daf3e4 Mon Sep 17 00:00:00 2001 From: Elizabeth Craig Date: Thu, 28 Feb 2019 00:20:05 -0800 Subject: [PATCH] minor update --- step1-07/demo/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/step1-07/demo/README.md b/step1-07/demo/README.md index 4dc17f5..6b66a51 100644 --- a/step1-07/demo/README.md +++ b/step1-07/demo/README.md @@ -111,7 +111,7 @@ interface TodoListProps { } ``` -> Note that `[id: string]` does not indicate an array here; it is an [index signature](https://www.typescriptlang.org/docs/handbook/interfaces.html#indexable-types). +> Note that `[id: string]` does not indicate an array; it is an object [index signature](https://www.typescriptlang.org/docs/handbook/interfaces.html#indexable-types). Now that our interface is complete, try changing the word "all" in `filter === all` and see that VS Code will tell you this condition will always be false. Compare this to plain JavaScript: if you had a typo in that line, you wouldn't understand why your filter wasn't working.