From d7c4f40171744b9cc32b342c589b3b43d05477dd Mon Sep 17 00:00:00 2001 From: Chives Date: Tue, 18 Feb 2020 13:12:00 -0500 Subject: [PATCH] docs(upgrade): separate AngularJS Material typings to its own block (#35514) PR Close #35514 --- aio/content/guide/upgrade.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/aio/content/guide/upgrade.md b/aio/content/guide/upgrade.md index d38b32ea2c..e34d15fad7 100644 --- a/aio/content/guide/upgrade.md +++ b/aio/content/guide/upgrade.md @@ -1165,8 +1165,16 @@ Install type definitions for the existing libraries that you're using but that don't come with prepackaged types: AngularJS, AngularJS Material, and the Jasmine unit test framework. +For the PhoneCat app, we can install the necessary type definitions by running the following command: + - npm install @types/jasmine @types/angular @types/angular-animate @types/angular-aria @types/angular-cookies @types/angular-mocks @types/angular-resource @types/angular-route @types/angular-sanitize @types/angular-material --save-dev + npm install @types/jasmine @types/angular @types/angular-animate @types/angular-aria @types/angular-cookies @types/angular-mocks @types/angular-resource @types/angular-route @types/angular-sanitize --save-dev + + +If you are using AngularJS Material, you can install the type definitions via: + + + npm install @types/angular-material --save-dev You should also configure the TypeScript compiler with a `tsconfig.json` in the project directory