Skip to content

Commit

Permalink
Fix typo in the website as well
Browse files Browse the repository at this point in the history
  • Loading branch information
kyarik authored Aug 31, 2020
1 parent d201252 commit 583fe02
Showing 1 changed file with 1 addition and 1 deletion.
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 583fe02

Please sign in to comment.