Skip to content

Commit cbc3656

Browse files
Merge pull request SharePoint#5354 from nanddeepn/patch-37
save option while installing Office JavaScript SDK
2 parents 697d5a2 + eacdf84 commit cbc3656

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/spfx/office-addins-create.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ You will need to deploy the solution to tenant using the **tenant scoped deploym
4444
Before you can use the Office JavaScript SDK in your code, you'll need to include correct types for the solution. You can install latest types by adding `@types/office-js` package from the npm to your solution with following command:
4545

4646
```shell
47-
npm install @types/office-js
47+
npm install @types/office-js --save-dev
4848
```
4949

5050
You can detect if the web part is on the Office context by using page context as shown on the following property, which refers to the Office JavaScript SDK. This property value is dependent on the context where the code is being executed.

0 commit comments

Comments
 (0)