mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Merge pull request #17565 from laureysruben/patch-1
Update to Jquery.foundation method typing
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
$(document).foundation();
|
||||
$(document).foundation('method5');
|
||||
$(document).foundation(['method', 'method2']);
|
||||
$(document).foundation('method', 'method2');
|
||||
|
||||
Foundation.Abide($('.selector'));
|
||||
Foundation.Abide($('.selector'), {});
|
||||
|
||||
Vendored
+1
-1
@@ -447,7 +447,7 @@ declare namespace FoundationSites {
|
||||
}
|
||||
|
||||
interface JQuery {
|
||||
foundation(method?:string|Array<any>) : JQuery;
|
||||
foundation(method?: string, ...args: any[]): JQuery;
|
||||
}
|
||||
|
||||
declare var Foundation:FoundationSites.FoundationSitesStatic;
|
||||
|
||||
Reference in New Issue
Block a user