docs(upgrade): add instructions for more AngularJS related typings (#35514)
angular-aria is a core AngularJS module packaged separately, and angular-material is its own thing entirely. PR Close #35514
This commit is contained in:
parent
939e2f76f6
commit
99fdba0165
|
@ -1162,11 +1162,11 @@ Begin by installing TypeScript to the project.
|
|||
</code-example>
|
||||
|
||||
Install type definitions for the existing libraries that
|
||||
you're using but that don't come with prepackaged types: AngularJS and the
|
||||
you're using but that don't come with prepackaged types: AngularJS, AngularJS Material, and the
|
||||
Jasmine unit test framework.
|
||||
|
||||
<code-example format="">
|
||||
npm install @types/jasmine @types/angular @types/angular-animate @types/angular-cookies @types/angular-mocks @types/angular-resource @types/angular-route @types/angular-sanitize --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 @types/angular-material --save-dev
|
||||
</code-example>
|
||||
|
||||
You should also configure the TypeScript compiler with a `tsconfig.json` in the project directory
|
||||
|
|
Loading…
Reference in New Issue