diff --git a/packages/tsconfig-reference/copy/en/options/typeRoots.md b/packages/tsconfig-reference/copy/en/options/typeRoots.md index 5fdb453bfa9e..fa54bc1681fe 100644 --- a/packages/tsconfig-reference/copy/en/options/typeRoots.md +++ b/packages/tsconfig-reference/copy/en/options/typeRoots.md @@ -7,7 +7,7 @@ By default all _visible_ "`@types`" packages are included in your compilation. Packages in `node_modules/@types` of any enclosing folder are considered _visible_. For example, that means packages within `./node_modules/@types/`, `../node_modules/@types/`, `../../node_modules/@types/`, and so on. -If `typeRoots` is specified, _only_ packages under `typeRoots` will be included. For example: +If `typeRoots` is specified, _only_ packages under `typeRoots` will be included. For example, the following config file will include _all_ packages under `./typings` and `./vendor/types`, and no packages from `./node_modules/@types`: ```json tsconfig { @@ -17,5 +17,4 @@ If `typeRoots` is specified, _only_ packages under `typeRoots` will be included. } ``` -This config file will include _all_ packages under `./typings` and `./vendor/types`, and no packages from `./node_modules/@types`. -All paths are relative to the `tsconfig.json`. +__Note:__ All paths are relative to the `tsconfig.json`.