From c7111a3117c323feba0a4e96a42c77ebb8f5db3e Mon Sep 17 00:00:00 2001 From: Daniel Sogl Date: Tue, 9 May 2017 23:33:47 +0200 Subject: [PATCH] fix(app-preferences): value can be any type (#1498) * refactor(AppPreferences): changed input type fix #1334 * Update index.ts --- src/@ionic-native/plugins/app-preferences/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/@ionic-native/plugins/app-preferences/index.ts b/src/@ionic-native/plugins/app-preferences/index.ts index d6c26892ac..0d86ce7e2b 100644 --- a/src/@ionic-native/plugins/app-preferences/index.ts +++ b/src/@ionic-native/plugins/app-preferences/index.ts @@ -47,13 +47,13 @@ export class AppPreferences extends IonicNativePlugin { * * @param {string} dict Dictionary for key (OPTIONAL) * @param {string} key Key - * @param {string} value Value + * @param {any} value Value * @return {Promise} Returns a promise */ @Cordova({ callbackOrder: 'reverse' }) - store(dict: string, key: string, value?: string): Promise { + store(dict: string, key: string, value?: any): Promise { return; }