Skip to content

Commit 5df8a0d

Browse files
authored
docs: add types array note to rc.0 upgrade (#5147)
1 parent dbd71b7 commit 5df8a0d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/documentation/stories/rc.0-update.md

+8
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,14 @@ beforeLaunch: function() {
297297
},
298298
```
299299

300+
These configs have an `types` array where you should add any package you install via `@types/*`.
301+
This array helps keep typings isolated to the apps that really need them and avoid problems with
302+
duplicate typings.
303+
304+
For instance, the unit test `tsconfig` has `jasmine` and `node`, which correspond to
305+
`@types/jasmine` and `@types/node`.
306+
Add any typings you've installed to the appropriate `tsconfig` as well.
307+
300308
## package.json
301309

302310
We've updated a lot of packages over the last months in order to keep projects up to date.

0 commit comments

Comments
 (0)