@nestjs/graphql
Version:
GraphQL for NestJS: code-first and schema-first APIs, resolvers as providers, subscriptions, federation and generated SDL, on Apollo or Mercurius.
11 lines • 455 B
TypeScript
export declare class ArrayWithGlobalCacheCollection<T> {
private globalArray;
private readonly internalArray;
constructor(globalArray: Array<T>);
getAll(): T[];
push(...items: T[]): number;
unshift(...items: T[]): number;
reverse(): T[];
reduce<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, initialValue: U): U;
}
//# sourceMappingURL=array-with-global-cache.collection.d.ts.map