fix abstract coder filter and map types
This commit is contained in:
parent
3a1d175c20
commit
6ade56e7a8
4
lib.esm/abi/coders/abstract-coder.d.ts
vendored
4
lib.esm/abi/coders/abstract-coder.d.ts
vendored
@ -38,11 +38,11 @@ export declare class Result extends Array<any> {
|
||||
/**
|
||||
* @_ignore
|
||||
*/
|
||||
filter(callback: (el: any, index: number, array: Result) => boolean, thisArg?: any): Result;
|
||||
filter<This = undefined>(predicate: (this: This, value: any, index: number, array: this) => boolean, thisArg?: This): any[];
|
||||
/**
|
||||
* @_ignore
|
||||
*/
|
||||
map<T extends any = any>(callback: (el: any, index: number, array: Result) => T, thisArg?: any): Array<T>;
|
||||
map<U, This = undefined>(callbackfn: (this: This, value: any, index: number, array: this) => U, thisArg?: This): Cast<{ [K in keyof this]: U }, U[]>;
|
||||
/**
|
||||
* Returns the value for %%name%%.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user