mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
bug fix
This commit is contained in:
parent
5c4de2e90f
commit
119c213c5e
@ -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 => {
|
||||
|
||||
4
appframework/appframework.d.ts
vendored
4
appframework/appframework.d.ts
vendored
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user