Skip to content

Commit

Permalink
Merge pull request #90 from timbru31/feat/update-typings
Browse files Browse the repository at this point in the history
feat: update typings
  • Loading branch information
janpio authored Feb 19, 2019
2 parents e213286 + 52a0655 commit 61ad76c
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
// Type definitions for Apache Cordova Device plugin
// Type definitions for cordova-plugin-device 2.0
// Project: https://github.com/apache/cordova-plugin-device
// Definitions by: Microsoft Open Technologies Inc <http://msopentech.com>
// Tim Brust <https://github.com/timbru31>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
//
// Copyright (c) Microsoft Open Technologies Inc
// Licensed under the MIT license

/**
* This plugin defines a global device object, which describes the device's hardware and software.
Expand All @@ -26,11 +24,12 @@ interface Device {
uuid: string;
/** Get the operating system version. */
version: string;
/** Get the device's manufacturer. */
manufacturer: string;
/** Whether the device is running on a simulator. */
isVirtual: boolean;
/** Get the device hardware serial number. */
serial: string;}
/** Get the device's manufacturer. */
manufacturer: string;
/** Whether the device is running on a simulator. */
isVirtual: boolean;
/** Get the device hardware serial number. */
serial: string;
}

declare var device: Device;

0 comments on commit 61ad76c

Please sign in to comment.