diff --git a/cordova-plugin-app-version/tsconfig.json b/cordova-plugin-app-version/tsconfig.json
index 935b5b77de..1c9f396113 100644
--- a/cordova-plugin-app-version/tsconfig.json
+++ b/cordova-plugin-app-version/tsconfig.json
@@ -1,23 +1,23 @@
{
- "compilerOptions": {
- "module": "commonjs",
- "lib": [
- "es6",
- "dom"
- ],
- "noImplicitAny": true,
- "noImplicitThis": true,
- "strictNullChecks": false,
- "baseUrl": "../",
- "typeRoots": [
- "../"
- ],
- "types": [],
- "noEmit": true,
- "forceConsistentCasingInFileNames": true
- },
- "files": [
- "index.d.ts",
- "cordova-plugin-app-version-tests.ts"
- ]
+ "compilerOptions": {
+ "module": "commonjs",
+ "lib": [
+ "es6",
+ "dom"
+ ],
+ "noImplicitAny": true,
+ "noImplicitThis": true,
+ "strictNullChecks": true,
+ "baseUrl": "../",
+ "typeRoots": [
+ "../"
+ ],
+ "types": [],
+ "noEmit": true,
+ "forceConsistentCasingInFileNames": true
+ },
+ "files": [
+ "index.d.ts",
+ "cordova-plugin-app-version-tests.ts"
+ ]
}
\ No newline at end of file
diff --git a/cordova-plugin-device-name/README.md b/cordova-plugin-device-name/README.md
new file mode 100644
index 0000000000..6826b06c32
--- /dev/null
+++ b/cordova-plugin-device-name/README.md
@@ -0,0 +1,8 @@
+# Installation
+> `npm install --save @types/cordova-plugin-device-name`
+
+# Summary
+This package contains type definitions for cordova-plugin-device-name (https://www.npmjs.com/package/cordova-plugin-device-name)
+
+# Details
+Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/cordova-plugin-device-name
diff --git a/cordova-plugin-device-name/cordova-plugin-device-name-tests.ts b/cordova-plugin-device-name/cordova-plugin-device-name-tests.ts
new file mode 100644
index 0000000000..c101f14d97
--- /dev/null
+++ b/cordova-plugin-device-name/cordova-plugin-device-name-tests.ts
@@ -0,0 +1,4 @@
+///
+
+var deviceName = cordova.plugins.deviceName;
+console.log(deviceName.name) // e.g: Becvert's iPad
diff --git a/cordova-plugin-device-name/index.d.ts b/cordova-plugin-device-name/index.d.ts
new file mode 100644
index 0000000000..479f443cfd
--- /dev/null
+++ b/cordova-plugin-device-name/index.d.ts
@@ -0,0 +1,26 @@
+// Type definitions for cordova-plugin-device-name v1.1.0
+// Project: https://www.npmjs.com/package/cordova-plugin-device-name
+// Definitions by: Larry Bahr
+// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
+//
+// Licensed under the MIT license.
+
+interface CordovaPlugins {
+ /**
+ * cordova-plugin-device-name interface
+ */
+ deviceName: CordovaPluginDeviceName.CordovaPluginDeviceName;
+}
+
+/**
+ * Keep the type global namespace clean by using a module
+ */
+declare module CordovaPluginDeviceName {
+ interface CordovaPluginDeviceName {
+ /**
+ * User-friendly name of the device.
+ * @example cordova.plugins.deviceName.name // e.g: Larry's Android
+ */
+ name: string;
+ }
+}
\ No newline at end of file
diff --git a/cordova-plugin-device-name/tsconfig.json b/cordova-plugin-device-name/tsconfig.json
new file mode 100644
index 0000000000..5012f628be
--- /dev/null
+++ b/cordova-plugin-device-name/tsconfig.json
@@ -0,0 +1,23 @@
+{
+ "compilerOptions": {
+ "module": "commonjs",
+ "lib": [
+ "es6",
+ "dom"
+ ],
+ "noImplicitAny": true,
+ "noImplicitThis": true,
+ "strictNullChecks": false,
+ "baseUrl": "../",
+ "typeRoots": [
+ "../"
+ ],
+ "types": [],
+ "noEmit": true,
+ "forceConsistentCasingInFileNames": true
+ },
+ "files": [
+ "index.d.ts",
+ "cordova-plugin-device-name-tests.ts"
+ ]
+}
\ No newline at end of file