You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ja...@apache.org on 2019/02/19 10:31:47 UTC

[cordova-plugin-device] branch master updated: feat: update typings

This is an automated email from the ASF dual-hosted git repository.

janpio pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-plugin-device.git


The following commit(s) were added to refs/heads/master by this push:
     new 52a0655  feat: update typings
     new 61ad76c  Merge pull request #90 from timbru31/feat/update-typings
52a0655 is described below

commit 52a06551c5d288b224979ffc79c126afde0aa644
Author: Tim Brust <gi...@timbrust.de>
AuthorDate: Tue Feb 19 00:45:41 2019 +0100

    feat: update typings
    
    This is part of [apache/cordova#39](https://github.com/apache/cordova/issues/39
---
 types/index.d.ts | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

diff --git a/types/index.d.ts b/types/index.d.ts
index d4450b4..cbb341b 100644
--- a/types/index.d.ts
+++ b/types/index.d.ts
@@ -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.
@@ -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;
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org