fix abstract coder filter and map types

This commit is contained in:
KillariDev 2024-02-13 14:35:52 +02:00
parent 3a1d175c20
commit 6ade56e7a8

View File

@ -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%%.
*