node_modules.apollo-codegen.src.utilities.array.ts Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of apollo-client-maven-plugin Show documentation
Show all versions of apollo-client-maven-plugin Show documentation
Maven plugin for generating graphql clients
export {};
declare global {
interface Array {
flatMap(callbackfn: (value: T, index: number, array: T[]) => U[] | undefined, thisArg?: any): U[];
}
}
Object.defineProperty(Array.prototype, 'flatMap', {
value: function(this: Array, callbackfn: (value: T, index: number, array: T[]) => U[], thisArg?: any): U[] {
return [].concat.apply([], this.map(callbackfn, thisArg));
},
enumerable: false
});
© 2015 - 2025 Weber Informatics LLC | Privacy Policy