From 808d658067e800c5b902ec3d432a700191aa5483 Mon Sep 17 00:00:00 2001 From: Riku Rouvila Date: Sun, 23 May 2021 23:47:32 +0300 Subject: [PATCH 1/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3287507..8b271b8 100644 --- a/README.md +++ b/README.md @@ -108,7 +108,7 @@ typehole.t1(23423.432); typehole.t2({ some: "value" }); ``` -Typeholes are identified by the method name of your typehole call. Call `.t2()` would give the whole the id "t2". The ids are there, so the extension knows from where the value is coming from in the code. +Typeholes are identified by the method name of your typehole call. Call `.t2()` would give the hole an id "t2". The ids are there, so the extension knows from where the value is coming from in the code. In most cases, you should use unique keys for all holes. However, if you wish to record values from many holes into the same type, you might use the same id. From f09c2ff7b1fc583fec0a6e35f6589cf6a620a6d0 Mon Sep 17 00:00:00 2001 From: yangjingyu Date: Fri, 11 Jun 2021 14:31:46 +0800 Subject: [PATCH 2/2] fix: Fixed incorrect serial number issue with README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8b271b8..a810f6a 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ const response = await axios.get("https://reddit.com/r/typescript.json"); const data: RedditResponse = typehole.t(response.data); ``` -3. Remove the typehole, and you're done. Typeholes are meant to be development-time only, so you shouldn't commit them. Typehole provides you with 2 [commands](#Commands) for easy removal of typeholes. +4. Remove the typehole, and you're done. Typeholes are meant to be development-time only, so you shouldn't commit them. Typehole provides you with 2 [commands](#Commands) for easy removal of typeholes. ```typescript interface RedditResponse {