Skip to content

Commit 8b76efe

Browse files
Update reference-third-party-css-styles.md
this is type declarations, this should go in devDependencies
1 parent 4b57aef commit 8b76efe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/spfx/web-parts/guidance/reference-third-party-css-styles.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ The easiest way to reference a third-party library in SharePoint Framework proje
140140
2. Because you are building your web part in TypeScript, you also need TypeScript typings for jQuery that you can install by running the following command:
141141

142142
```sh
143-
npm install @types/jquery --save
143+
npm install @types/jquery --save-dev
144144
```
145145

146146
### Reference libraries in the web part
@@ -217,7 +217,7 @@ When you reference third-party libraries from a URL, you don't need to install t
217217
Assuming you start with an empty project created as described previously in this article, install TypeScript typings for jQuery by running the following command:
218218

219219
```sh
220-
npm install @types/jquery --save
220+
npm install @types/jquery --save-dev
221221
```
222222

223223
### Specify URLs of libraries

0 commit comments

Comments
 (0)