From 3c44b9c4d89cf065a39595eb0f73fc7f6001418b Mon Sep 17 00:00:00 2001 From: Sam Vloeberghs Date: Wed, 6 Jan 2016 08:45:41 +0100 Subject: [PATCH] updated implicit any + duplicate id + patch version to 6.1.1 --- fingerprintjs2/fingerprint2-tests.ts | 15 --------- fingerprintjs2/fingerprint2.d.ts | 50 ---------------------------- 2 files changed, 65 deletions(-) delete mode 100644 fingerprintjs2/fingerprint2-tests.ts delete mode 100644 fingerprintjs2/fingerprint2.d.ts diff --git a/fingerprintjs2/fingerprint2-tests.ts b/fingerprintjs2/fingerprint2-tests.ts deleted file mode 100644 index 7f4baf756d..0000000000 --- a/fingerprintjs2/fingerprint2-tests.ts +++ /dev/null @@ -1,15 +0,0 @@ -// Type definitions for fingerprintjs2 1.0.0-rc3 -// Project: https://github.com/Valve/fingerprintjs2 -// Definitions by: Sam Vloeberghs -// Definitions: https://github.com/borisyankov/DefinitelyTyped - -let f2 = new Fingerprint2.Fingerprint2(); -f2.get((result:string, components:Array) => { - -}); - -let options = {}; -let f2withOptions = new Fingerprint2.Fingerprint2(options); -f2withOptions.get((result:string, components:Array) => { - -}); diff --git a/fingerprintjs2/fingerprint2.d.ts b/fingerprintjs2/fingerprint2.d.ts deleted file mode 100644 index 87150da3dd..0000000000 --- a/fingerprintjs2/fingerprint2.d.ts +++ /dev/null @@ -1,50 +0,0 @@ -// Type definitions for fingerprintjs2 1.0.0-rc3 -// Project: https://github.com/Valve/fingerprintjs2 -// Definitions by: Sam Vloeberghs -// Definitions: https://github.com/borisyankov/DefinitelyTyped - -declare module Fingerprint2Js { - - interface Fingerprint2Static { - new(option?:Fingerprint2Option): Fingerprint2; - } - - interface Fingerprint2 { - get(func:(result:string, components:Array) => void): void; - } - - interface Fingerprint2Option { - swfContainerId?: string; - swfPath?: string; - excludeUserAgent?: boolean; - excludeLanguage?: boolean; - excludeColorDepth?: boolean; - excludeScreenResolution?: boolean; - excludeTimezoneOffset?: boolean; - excludeSessionStorage?: boolean; - excludeIndexedDB?: boolean; - excludeAddBehavior?: boolean; - excludeOpenDatabase?: boolean; - excludeCpuClass?: boolean; - excludePlatform?: boolean; - excludeDoNotTrack?: boolean; - excludeCanvas?: boolean; - excludeWebGL?: boolean; - excludeAdBlock?: boolean; - excludeHasLiedLanguages?: boolean; - excludeHasLiedResolution?: boolean; - excludeHasLiedOs?: boolean; - excludeHasLiedBrowser?: boolean; - excludeJsFonts?: boolean; - excludeFlashFonts?: boolean; - excludePlugins?: boolean; - excludeTouchSupport?: boolean; - } - -} - -declare var Fingerprint2:Fingerprint2Js.Fingerprint2Static; - -declare module "Fingerprint2" { - export = Fingerprint2; -}