mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 23:10:29 +00:00
is-mobile: Provides its own types (#39593)
This commit is contained in:
committed by
Jesse Trinity
parent
43b33863ca
commit
2cfc62a27d
@@ -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",
|
||||
|
||||
Vendored
-8
@@ -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;
|
||||
@@ -1,3 +0,0 @@
|
||||
import isMobile = require('is-mobile');
|
||||
|
||||
isMobile();
|
||||
@@ -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 +0,0 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
Reference in New Issue
Block a user