docs(setup): add type checker commands on setup guide
This commit is contained in:
parent
4d00edc026
commit
f67d99c983
16
_SETUP.md
16
_SETUP.md
|
@ -10,7 +10,7 @@ That's all.
|
||||||
|
|
||||||
## Setup manually
|
## Setup manually
|
||||||
|
|
||||||
Setup your local webpack repository
|
### Setup your local webpack repository
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/webpack/webpack.git
|
git clone https://github.com/webpack/webpack.git
|
||||||
|
@ -21,8 +21,20 @@ yarn link
|
||||||
yarn link webpack
|
yarn link webpack
|
||||||
```
|
```
|
||||||
|
|
||||||
To run the entire test suite use:
|
### To run the entire test suite use:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
yarn test
|
yarn test
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### To run the typechecker use:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
yarn type-lint
|
||||||
|
```
|
||||||
|
|
||||||
|
or incremental as you add JSDoc Annotations or make changes
|
||||||
|
|
||||||
|
```bash
|
||||||
|
yarn type-lint --watch
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in New Issue