Skip to content

Commit 3bee97b

Browse files
authored
save option while installing Office JavaScript SDK
Included --save option to enable NPM to include the packages to dependencies section of the package.json file.
1 parent 6afbb9a commit 3bee97b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/spfx/office-addins-create.md

Lines changed: 2 additions & 2 deletions
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
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.
@@ -115,4 +115,4 @@ You can deploy your solution to Outlook Web App by using so called side-loading
115115
1. Name can be adjusted in the manifest file as needed
116116

117117
> [!IMPORTANT]
118-
> Deployment process will include different steps when additional applications and desktop will be supported.
118+
> Deployment process will include different steps when additional applications and desktop will be supported.

0 commit comments

Comments
 (0)