Skip to content

Commit

Permalink
docs(storage): update example (#1591)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsogl authored and jcesarmobile committed May 28, 2019
1 parent 01ecc67 commit 8bf641a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions site/docs-md/apis/storage/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ This method can also be used to store non-string values, such as numbers and boo
## Example

```typescript
import { Plugins } from '@capacitor/core';

const { Storage } = Plugins;


// JSON "set" example
async setObject() {
await Storage.set({
Expand Down

0 comments on commit 8bf641a

Please sign in to comment.