Skip to content

Commit 61ad76c

Browse files
authored
Merge pull request #90 from timbru31/feat/update-typings
feat: update typings
2 parents e213286 + 52a0655 commit 61ad76c

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

types/index.d.ts

+9-10
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
// Type definitions for Apache Cordova Device plugin
1+
// Type definitions for cordova-plugin-device 2.0
22
// Project: https://github.com/apache/cordova-plugin-device
33
// Definitions by: Microsoft Open Technologies Inc <http://msopentech.com>
4+
// Tim Brust <https://github.com/timbru31>
45
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
5-
//
6-
// Copyright (c) Microsoft Open Technologies Inc
7-
// Licensed under the MIT license
86

97
/**
108
* This plugin defines a global device object, which describes the device's hardware and software.
@@ -26,11 +24,12 @@ interface Device {
2624
uuid: string;
2725
/** Get the operating system version. */
2826
version: string;
29-
/** Get the device's manufacturer. */
30-
manufacturer: string;
31-
/** Whether the device is running on a simulator. */
32-
isVirtual: boolean;
33-
/** Get the device hardware serial number. */
34-
serial: string;}
27+
/** Get the device's manufacturer. */
28+
manufacturer: string;
29+
/** Whether the device is running on a simulator. */
30+
isVirtual: boolean;
31+
/** Get the device hardware serial number. */
32+
serial: string;
33+
}
3534

3635
declare var device: Device;

0 commit comments

Comments
 (0)