diff --git a/cordova-plugin-device/index.d.ts b/cordova-plugin-device/index.d.ts index 494b04f1e2..cb75703d1a 100644 --- a/cordova-plugin-device/index.d.ts +++ b/cordova-plugin-device/index.d.ts @@ -13,6 +13,8 @@ interface Device { /** Get the version of Cordova running on the device. */ cordova: string; + /** Indicates that Cordova initialize successfully. */ + available: boolean; /** * The device.model returns the name of the device's model or product. The value is set * by the device manufacturer and may be different across versions of the same product. @@ -31,4 +33,4 @@ interface Device { /** Get the device hardware serial number. */ serial: string;} -declare var device: Device; \ No newline at end of file +declare var device: Device;