Skip to content

Commit

Permalink
docs: remove outdated "typings" section
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-oles authored Apr 28, 2022
1 parent 103e2eb commit 756531c
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -334,19 +334,6 @@ module.exports = {
};
```

## Typings

To use the plugin typings, you have to install `@types/webpack`. It's not included by default to not collide with your
existing typings (`@types/webpack` imports `@types/node`). [It's an old TypeScript issue](https://github.com/microsoft/TypeScript/issues/18588),
the alternative is to set `skipLibCheck: true` in the `compilerOptions` 😉
```sh
# with npm
npm install --save-dev @types/webpack

# with yarn
yarn add --dev @types/webpack
```

## Profiling types resolution

When using TypeScript 4.3.0 or newer you can profile long type checks by
Expand Down

0 comments on commit 756531c

Please sign in to comment.