10 lines
252 B
TypeScript
10 lines
252 B
TypeScript
|
export declare class LimitedArray<T> {
|
||
|
array: T[];
|
||
|
arrayLimit: number;
|
||
|
constructor(limitArg: number);
|
||
|
addOne(objectArg: T): void;
|
||
|
addMany(objectArrayArg: T[]): void;
|
||
|
setLimit(limitArg: number): void;
|
||
|
getAverage(): number;
|
||
|
}
|