From 8bf641a2f82a14a8269ce0bc987067d79c111f45 Mon Sep 17 00:00:00 2001 From: Daniel Sogl Date: Tue, 28 May 2019 18:17:56 +0200 Subject: [PATCH] docs(storage): update example (#1591) --- site/docs-md/apis/storage/index.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/site/docs-md/apis/storage/index.md b/site/docs-md/apis/storage/index.md index cb7215ba9..02d7335b5 100644 --- a/site/docs-md/apis/storage/index.md +++ b/site/docs-md/apis/storage/index.md @@ -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({