mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 22:30:01 +00:00
updated implicit any + duplicate id + patch version to 6.1.1
This commit is contained in:
@@ -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>) => {
|
||||
|
||||
});
|
||||
50
fingerprintjs2/fingerprint2.d.ts
vendored
50
fingerprintjs2/fingerprint2.d.ts
vendored
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user