mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 23:37:04 +00:00
Add definitions for browser-fingerprint
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
import browserFingerprint = require("browser-fingerprint");
|
||||
|
||||
const fingerprint: string = browserFingerprint();
|
||||
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
// Type definitions for browser-fingerprint 0.1
|
||||
// Project: https://www.npmjs.com/package/browser-fingerprint
|
||||
// Definitions by: Karol Janyst <https://github.com/LKay>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare function browserFingerprint (): string;
|
||||
export = browserFingerprint;
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"target": "es6",
|
||||
"noImplicitAny": true,
|
||||
"strictNullChecks": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"browser-fingerprint-tests.ts"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user