Skip to content

Commit b1630b3

Browse files
Update use-existing-javascript-libraries.md
his is type declarations, this should go in devDependencies
1 parent 697d5a2 commit b1630b3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/spfx/web-parts/guidance/use-existing-javascript-libraries.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Use existing JavaScript libraries in SharePoint Framework client-side web parts
33
description: Ensure that your web parts won't negatively impact the performance of SharePoint pages that they are being used on.
4-
ms.date: 01/29/2018
4+
ms.date: 02/19/2020
55
ms.prod: sharepoint
66
localization_priority: Priority
77
---
@@ -24,7 +24,7 @@ The most common way of referencing existing JavaScript libraries in SharePoint F
2424
2. To use Angular with TypeScript, you would install typings using **npm**:
2525

2626
```sh
27-
npm install @types/angular --save
27+
npm install @types/angular --save-dev
2828
```
2929

3030
3. Reference Angular in your web part by using the `import` statement:
@@ -97,7 +97,7 @@ Referencing existing JavaScript libraries in the SharePoint Framework is easy an
9797
Using Angular as an example, to reference it as an external resource in your client-side web part, you start by installing its TypeScript typings using **npm**:
9898

9999
```sh
100-
npm install @types/angular --save
100+
npm install @types/angular --save-dev
101101
```
102102

103103
<br/>

0 commit comments

Comments
 (0)