Skip to content

Commit

Permalink
fix(call-number): number should be a string
Browse files Browse the repository at this point in the history
closes #545
  • Loading branch information
ihadeed committed Sep 19, 2016
1 parent 281575b commit 763ad1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/call-number.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ import { Plugin, Cordova } from './plugin';
export class CallNumber {
/**
* Calls a phone number
* @param numberToCall {number} The phone number to call
* @param numberToCall {string} The phone number to call as a string
* @param bypassAppChooser {boolean} Set to true to bypass the app chooser and go directly to dialer
*/
@Cordova({
callbackOrder: 'reverse'
})
static callNumber(numberToCall: number, bypassAppChooser: boolean): Promise<any> {
static callNumber(numberToCall: string, bypassAppChooser: boolean): Promise<any> {
return;
}
}

0 comments on commit 763ad1b

Please sign in to comment.