Skip to content

Commit

Permalink
docs/fix: missing "to" infinitive marker (jaredpalmer#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 and paul-vd committed Dec 1, 2020
1 parent e2b76f1 commit 873a58b
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 @@ -199,7 +199,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

0 comments on commit 873a58b

Please sign in to comment.