updated implicit any + duplicate id + patch version to 6.1.1

This commit is contained in:
Sam Vloeberghs
2016-01-06 08:45:05 +01:00
parent 6d23a0171b
commit 4a9a8a49ea
3 changed files with 68 additions and 4 deletions
+15
View File
@@ -0,0 +1,15 @@
// 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
View File
@@ -0,0 +1,50 @@
// 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;
}
+3 -4
View File
@@ -1,4 +1,4 @@
// Type definitions for Foundation Sites v6.1.x
// Type definitions for Foundation Sites v6.1.1
// Project: http://foundation.zurb.com/
// Definitions by: Sam Vloeberghs <https://github.com/samvloeberghs/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
@@ -194,7 +194,6 @@ declare module FoundationSites {
position?: string;
forceTop?: boolean;
isRevealed?: boolean;
isRevealed?: boolean;
revealOn?: string;
autoFocus?: boolean;
revealClass?: string;
@@ -378,8 +377,8 @@ declare module FoundationSites {
}
interface Nest {
Feather(menu:any, type:any);
Burn(menu:any, type:any);
Feather(menu:any, type:any):void;
Burn(menu:any, type:any):void;
}
interface Timer {