From 52a06551c5d288b224979ffc79c126afde0aa644 Mon Sep 17 00:00:00 2001 From: Tim Brust Date: Tue, 19 Feb 2019 00:45:41 +0100 Subject: [PATCH] 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 d4450b4d..cbb341bc 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 +// Tim Brust // 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