mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-18 05:18:39 +08:00
13 lines
271 B
TypeScript
13 lines
271 B
TypeScript
/**
|
|
* Allows you to take pictrues with the device's camera.
|
|
*/
|
|
declare module "camera" {
|
|
|
|
import imageSource = require("image-source");
|
|
|
|
/**
|
|
* Take a photo using the camera.
|
|
*/
|
|
export function takePicture(): Promise<imageSource.ImageSource>;
|
|
}
|