Skip to content

Commit

Permalink
Merge pull request #1118 from pnp/PaoloPia-storage-entities-doc-page
Browse files Browse the repository at this point in the history
Fix for the Storage Entities documentation page
  • Loading branch information
patrick-rodgers committed Mar 31, 2020
2 parents 6e63b23 + 8cd1b35 commit 20c6443
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/sp/tenant-properties.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,9 @@ await w.setStorageEntity("Test2", "Value 2", "description", "comments");
This method can be used from any web to retrieve values previously set.

```TypeScript
import { sp, StorageEntity } from "@pnp/sp";
import "@pnp/sp/webs";
import { sp, IStorageEntity } from "@pnp/sp/presets/all";

const prop: StorageEntity = await sp.web.getStorageEntity("Test1");
const prop: IStorageEntity = await sp.web.getStorageEntity("Test1");

console.log(prop.Value);
```
Expand Down

0 comments on commit 20c6443

Please sign in to comment.