Skip to content

Commit

Permalink
docs/fix: missing "to" infinitive marker (#843)
Browse files Browse the repository at this point in the history
* Fix small typo in the README
* Fix typo in the website as well
  • Loading branch information
kyarik authored Aug 31, 2020
1 parent aaa3dce commit 49fb303
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion website/pages/optimization.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

1 comment on commit 49fb303

@vercel
Copy link

@vercel vercel bot commented on 49fb303 Aug 31, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.