Skip to content

Commit

Permalink
fix(app-preferences): value can be any type (#1498)
Browse files Browse the repository at this point in the history
* refactor(AppPreferences): changed input type

fix #1334

* Update index.ts
  • Loading branch information
danielsogl authored and ihadeed committed May 9, 2017
1 parent 65a8095 commit c7111a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/@ionic-native/plugins/app-preferences/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<any>} Returns a promise
*/
@Cordova({
callbackOrder: 'reverse'
})
store(dict: string, key: string, value?: string): Promise<any> {
store(dict: string, key: string, value?: any): Promise<any> {
return;
}

Expand Down

0 comments on commit c7111a3

Please sign in to comment.