mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
jQuery UI / Modernizr: remove implicit anys
This commit is contained in:
Vendored
+2
-2
@@ -73,7 +73,7 @@ declare module JQueryUI {
|
||||
}
|
||||
|
||||
interface Autocomplete extends Widget, AutocompleteOptions, AutocompleteEvents {
|
||||
escapeRegex: (string) => string;
|
||||
escapeRegex: (value: string) => string;
|
||||
}
|
||||
|
||||
|
||||
@@ -154,7 +154,7 @@ declare module JQueryUI {
|
||||
|
||||
interface Datepicker extends Widget, DatepickerOptions {
|
||||
regional: { [languageCod3: string]: any; };
|
||||
setDefaults(defaults: DatepickerOptions);
|
||||
setDefaults(defaults: DatepickerOptions): void;
|
||||
formatDate(format: string, date: Date, settings?: DatepickerFormatDateOptions): string;
|
||||
parseDate(format: string, date: string, settings?: DatepickerFormatDateOptions): Date;
|
||||
iso8601Week(date: Date): void;
|
||||
|
||||
Vendored
+7
-7
@@ -92,9 +92,9 @@ interface ModernizrStatic {
|
||||
touch: boolean;
|
||||
webgl: boolean;
|
||||
|
||||
load(resources: Array);
|
||||
load(resourceObject: any);
|
||||
load(resourceString: string);
|
||||
load(resources: Array): void;
|
||||
load(resourceObject: any): void;
|
||||
load(resourceString: string): void;
|
||||
|
||||
prefixed(): boolean;
|
||||
prefixed(property: string): boolean;
|
||||
@@ -102,11 +102,11 @@ interface ModernizrStatic {
|
||||
|
||||
mq(mediaQuery: string): boolean;
|
||||
|
||||
addTest(feature: string, test: () => any);
|
||||
addTest(feature: string, test: boolean);
|
||||
addTest(feature: any);
|
||||
addTest(feature: string, test: () => any): void;
|
||||
addTest(feature: string, test: boolean): void;
|
||||
addTest(feature: any): void;
|
||||
|
||||
testStyles(rule: string, callback: (element, rule) => void, nodes?: number, testnames?: string[]): boolean;
|
||||
testStyles(rule: string, callback: (element: HTMLDivElement, rule: string) => void, nodes?: number, testnames?: string[]): boolean;
|
||||
testProp(property: string): boolean;
|
||||
testAllProps(property: string, prefix?: string): boolean;
|
||||
testAllProps(property: string, obj: any, element: any): boolean;
|
||||
|
||||
Reference in New Issue
Block a user