mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-04-22 02:34:01 +08:00
make params optional
This commit is contained in:
parent
ec4f3c69ec
commit
e73c99b28a
@ -19,7 +19,7 @@ export class Screenshot {
|
|||||||
successIndex: 1,
|
successIndex: 1,
|
||||||
errorIndex: 0
|
errorIndex: 0
|
||||||
})
|
})
|
||||||
static save (format: string, quality: number, filename: string) : Promise<any> {return}
|
static save (format?: string, quality?: number, filename?: string) : Promise<any> {return}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Takes screenshot and returns the image as an URI
|
* Takes screenshot and returns the image as an URI
|
||||||
@ -32,5 +32,5 @@ export class Screenshot {
|
|||||||
successIndex: 1,
|
successIndex: 1,
|
||||||
errorIndex: 0
|
errorIndex: 0
|
||||||
})
|
})
|
||||||
static URI (quality: number) : Promise<any> {return}
|
static URI (quality?: number) : Promise<any> {return}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user