updated implicit any + duplicate id + patch version to 6.1.1

This commit is contained in:
Sam Vloeberghs
2016-01-06 08:45:41 +01:00
parent 4a9a8a49ea
commit 3c44b9c4d8
2 changed files with 0 additions and 65 deletions

View File

@@ -1,15 +0,0 @@
// Type definitions for fingerprintjs2 1.0.0-rc3
// Project: https://github.com/Valve/fingerprintjs2
// Definitions by: Sam Vloeberghs <https://github.com/samvloeberghs>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
let f2 = new Fingerprint2.Fingerprint2();
f2.get((result:string, components:Array<string>) => {
});
let options = <Fingerprint2Option>{};
let f2withOptions = new Fingerprint2.Fingerprint2(options);
f2withOptions.get((result:string, components:Array<string>) => {
});

View File

@@ -1,50 +0,0 @@
// Type definitions for fingerprintjs2 1.0.0-rc3
// Project: https://github.com/Valve/fingerprintjs2
// Definitions by: Sam Vloeberghs <https://github.com/samvloeberghs>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
declare module Fingerprint2Js {
interface Fingerprint2Static {
new(option?:Fingerprint2Option): Fingerprint2;
}
interface Fingerprint2 {
get(func:(result:string, components:Array<string>) => 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;
}