mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
bug fix
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/// <reference path="appframework.d.ts" />
|
||||
|
||||
af(function ($: appFrameworkCollection) {});
|
||||
af(($: appFrameworkStatic) => {});
|
||||
|
||||
((): appFrameworkCollection => {
|
||||
return $('div'); //=> all DIV elements on the page
|
||||
@@ -192,7 +192,7 @@ $.feat.cssTransformEnd;
|
||||
|
||||
|
||||
((): appFrameworkCollection => {
|
||||
return $('').reduce(() => {});
|
||||
return $('').reduce((hoge) => { return hoge; });
|
||||
})();
|
||||
|
||||
((): number => {
|
||||
|
||||
Vendored
+2
-2
@@ -53,8 +53,8 @@ interface appFrameworkStatic {
|
||||
* @return {Array} elements
|
||||
* @title $.each(elements,callback)
|
||||
*/
|
||||
each(collection: any[], fn: (index: number, item: any) => boolean): void;
|
||||
each(collection: any, fn: (key: string, value: any) => boolean): void;
|
||||
each(collection: any[], fn: (index: number, item: any) => any): void;
|
||||
each(collection: any, fn: (key: string, value: any) => any): void;
|
||||
|
||||
/**
|
||||
* Extends an object with additional arguments
|
||||
|
||||
Reference in New Issue
Block a user