mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Fix breaks identified by TypeScript 0.9.1.1
This commit is contained in:
parent
7ccafc1bc8
commit
bc63597ea3
6
underscore/underscore.d.ts
vendored
6
underscore/underscore.d.ts
vendored
@ -1310,7 +1310,7 @@ declare module _ {
|
||||
* @param obj Object to chain.
|
||||
* @return Wrapped `obj`.
|
||||
**/
|
||||
export function chain(obj: any): _Chain;
|
||||
export function chain(obj: any): _Chain<any>;
|
||||
|
||||
/**
|
||||
* Extracts the value of a wrapped object.
|
||||
@ -2077,7 +2077,7 @@ declare class _<T> {
|
||||
* Wrapped type `any`.
|
||||
* @see _.chain
|
||||
**/
|
||||
chain(): _Chain;
|
||||
chain(): _Chain<any>;
|
||||
|
||||
/**
|
||||
* Wrapped type `any`.
|
||||
@ -2096,7 +2096,7 @@ interface _Chain<T> {
|
||||
* Wrapped type `any[]`.
|
||||
* @see _.each
|
||||
**/
|
||||
each(iterator: _.ListIterator<T, void >, context?: any): _Chain;
|
||||
each(iterator: _.ListIterator<T, void >, context?: any): _Chain<any>;
|
||||
|
||||
/**
|
||||
* @see _.each
|
||||
|
||||
Loading…
Reference in New Issue
Block a user