From d2012522e10bb8024ec3986544421f2d58787c5e Mon Sep 17 00:00:00 2001 From: Yaroslav K Date: Sun, 30 Aug 2020 11:48:34 +0200 Subject: [PATCH 1/2] Fix small typo in the README Add a missing "to" infinitive marker. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b7ca61ba0..0bca574f1 100644 --- a/README.md +++ b/README.md @@ -198,7 +198,7 @@ if (process.env.NODE_ENV !== 'production') { } ``` -**IMPORTANT:** To use `__DEV__` in TypeScript, you need add `declare var __DEV__: boolean` somewhere in your project's type path (e.g. `./types/index.d.ts`). +**IMPORTANT:** To use `__DEV__` in TypeScript, you need to add `declare var __DEV__: boolean` somewhere in your project's type path (e.g. `./types/index.d.ts`). ```ts // ./types/index.d.ts From 977c06d8240eac04e17cd85612b0646bd2f17cdf Mon Sep 17 00:00:00 2001 From: Yaroslav K Date: Mon, 31 Aug 2020 13:35:30 +0200 Subject: [PATCH 2/2] Fix typo in the website as well --- website/pages/optimization.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/pages/optimization.mdx b/website/pages/optimization.mdx index dc12e9089..e837b4651 100644 --- a/website/pages/optimization.mdx +++ b/website/pages/optimization.mdx @@ -94,7 +94,7 @@ if (process.env.NODE_ENV !== 'production') { } ``` -**IMPORTANT:** To use `__DEV__` in TypeScript, you need add `declare var __DEV__: boolean` somewhere in your project's type path (e.g. `./types/index.d.ts`). +**IMPORTANT:** To use `__DEV__` in TypeScript, you need to add `declare var __DEV__: boolean` somewhere in your project's type path (e.g. `./types/index.d.ts`). ```ts // ./types/index.d.ts