From 10368500f2a2b4b56421659a46dc3473d7b2094c Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Fri, 10 Dec 2021 12:12:52 +0530 Subject: [PATCH] Fix formatting --- doc/TS-MIGRATION.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/TS-MIGRATION.md b/doc/TS-MIGRATION.md index 78a4c9ba..b63966f2 100644 --- a/doc/TS-MIGRATION.md +++ b/doc/TS-MIGRATION.md @@ -34,4 +34,5 @@ In this scenario: - Use `object` if you know that you will not access any property - Use `Record` if you need to access some property -Both usages prevent the type from accepting primitives (eg: string, boolean...). If using `Record`, ensure you have guards to check that the properties really do exist. +Both usages prevent the type from accepting primitives (eg: string, boolean...). +If using `Record`, ensure that you have guards to check that the properties really do exist.