@types/ismobilejs
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -6,39 +6,53 @@ // Type definitions for ismobilejs 0.4 | ||
export const any: boolean; | ||
export const phone: boolean; | ||
export const tablet: boolean; | ||
export const seven_inch: boolean; | ||
interface Apple { | ||
phone: boolean; | ||
ipod: boolean; | ||
tablet: boolean; | ||
device: boolean; | ||
} | ||
export const apple: { | ||
phone: boolean; | ||
ipod: boolean; | ||
tablet: boolean; | ||
device: boolean; | ||
}; | ||
interface Android { | ||
phone: boolean; | ||
tablet: boolean; | ||
device: boolean; | ||
} | ||
export const android: { | ||
phone: boolean; | ||
tablet: boolean; | ||
device: boolean; | ||
}; | ||
interface Amazon { | ||
phone: boolean; | ||
tablet: boolean; | ||
device: boolean; | ||
} | ||
export const amazon: { | ||
phone: boolean; | ||
tablet: boolean; | ||
device: boolean; | ||
}; | ||
interface Windows { | ||
phone: boolean; | ||
tablet: boolean; | ||
device: boolean; | ||
} | ||
export const windows: { | ||
phone: boolean; | ||
tablet: boolean; | ||
device: boolean; | ||
}; | ||
interface Other { | ||
blackberry_10: boolean; | ||
blackberry: boolean; | ||
opera: boolean; | ||
firefox: boolean; | ||
chrome: boolean; | ||
device: boolean; | ||
} | ||
export const other: { | ||
blackberry_10: boolean; | ||
blackberry: boolean; | ||
opera: boolean; | ||
firefox: boolean; | ||
chrome: boolean; | ||
device: boolean; | ||
}; | ||
interface IsMobile { | ||
any: boolean; | ||
phone: boolean; | ||
tablet: boolean; | ||
seven_inch: boolean; | ||
apple: Apple; | ||
android: Android; | ||
amazon: Amazon; | ||
windows: Windows; | ||
other: Other; | ||
(userAgent?: string): IsMobile; | ||
} | ||
declare const isMobile: IsMobile; | ||
export = isMobile; |
{ | ||
"name": "@types/ismobilejs", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "TypeScript definitions for ismobilejs", | ||
@@ -20,4 +20,4 @@ "license": "MIT", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "12aeb312e5e7a72a87969accc069dcdde082ee0cf4d5a8210ae9abc5bd937f4d", | ||
"typesPublisherContentHash": "a222359bf065a61567a047fc792747bf70a2236aaaa941480c2fd1189134bd64", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Mon, 08 Jan 2018 23:40:07 GMT | ||
* Last updated: Wed, 17 Jan 2018 22:17:28 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
3265
47