From 6c84c7a72bf6cc624cdc24e5184a098f3b61fd57 Mon Sep 17 00:00:00 2001 From: MSakamaki Date: Wed, 6 Feb 2019 13:05:25 +0900 Subject: [PATCH] [Do not add unneeded context ] to gets an error correction --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e880e27..66449e0 100644 --- a/README.md +++ b/README.md @@ -199,7 +199,7 @@ type Car = { } function print(car: Car): void { - console.log(`${this.carMake} ${this.carModel} (${this.carColor})`); + console.log(`${car.carMake} ${car.carModel} (${car.carColor})`); } ``` @@ -213,7 +213,7 @@ type Car = { } function print(car: Car): void { - console.log(`${this.make} ${this.model} (${this.color})`); + console.log(`${car.make} ${car.model} (${car.color})`); } ```