is-mobile: Provides its own types (#39593)

This commit is contained in:
Alexander T
2019-11-01 11:12:27 -07:00
committed by Jesse Trinity
parent 43b33863ca
commit 2cfc62a27d
5 changed files with 6 additions and 35 deletions
+6
View File
@@ -1842,6 +1842,12 @@
"sourceRepoURL": "https://github.com/blakeembrey/is-lower-case",
"asOfVersion": "1.1.2"
},
{
"libraryName": "is-mobile",
"typingsPackageName": "is-mobile",
"sourceRepoURL": "https://github.com/juliangruber/is-mobile",
"asOfVersion": "2.1.0"
},
{
"libraryName": "is-obj",
"typingsPackageName": "is-obj",
-8
View File
@@ -1,8 +0,0 @@
// Type definitions for is-mobile 0.3
// Project: https://github.com/juliangruber/is-mobile
// Definitions by: Leonid Logvinov <https://github.com/LogvinovLeon>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare function isMobile(): boolean;
export = isMobile;
-3
View File
@@ -1,3 +0,0 @@
import isMobile = require('is-mobile');
isMobile();
-23
View File
@@ -1,23 +0,0 @@
{
"compilerOptions": {
"module": "commonjs",
"lib": [
"es6"
],
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
"../"
],
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
"is-mobile-tests.ts"
]
}
-1
View File
@@ -1 +0,0 @@
{ "extends": "dtslint/dt.json" }