diff --git a/add2home/add2home-tests.ts b/add2home/add2home-tests.ts
new file mode 100644
index 000000000..371a8f752
--- /dev/null
+++ b/add2home/add2home-tests.ts
@@ -0,0 +1,5 @@
+///
+
+addToHome.show(false);
+addToHome.close();
+addToHome.reset();
diff --git a/add2home/add2home.d.ts b/add2home/add2home.d.ts
new file mode 100644
index 000000000..e1e9548f1
--- /dev/null
+++ b/add2home/add2home.d.ts
@@ -0,0 +1,15 @@
+// Type definitions for add2home v2.0.5
+// Project: http://cubiq.org/add-to-home-screen
+// Definitions by: James Wilkins
+// Definitions: https://github.com/borisyankov/DefinitelyTyped
+
+declare var addToHome: {
+ /** Shows the popup.
+ * @param {boolean} overrideChecks Override all the compatibility checks and always show the popup.
+ */
+ show: (overrideChecks: boolean) => void;
+ /** Closes the popup. */
+ close: () => void;
+ /** Reset the local and session storages so the popup will show again (for automatic mode - has no affect if manually opening the popup). */
+ reset: () => void;
+};
\ No newline at end of file