Skip to content

Commit

Permalink
docs: add types array note to rc.0 upgrade (#5147)
Browse files Browse the repository at this point in the history
  • Loading branch information
filipesilva authored Mar 2, 2017
1 parent dbd71b7 commit 5df8a0d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/documentation/stories/rc.0-update.md
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,14 @@ beforeLaunch: function() {
},
```

These configs have an `types` array where you should add any package you install via `@types/*`.
This array helps keep typings isolated to the apps that really need them and avoid problems with
duplicate typings.

For instance, the unit test `tsconfig` has `jasmine` and `node`, which correspond to
`@types/jasmine` and `@types/node`.
Add any typings you've installed to the appropriate `tsconfig` as well.

## package.json

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

0 comments on commit 5df8a0d

Please sign in to comment.