fix(core): update

This commit is contained in:
Philipp Kunz 2023-08-02 02:30:13 +02:00
parent 53a67c0ebe
commit f2c2dab782
3 changed files with 3 additions and 3 deletions

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@push.rocks/taskbuffer',
version: '3.0.13',
version: '3.0.14',
description: 'flexible task management. TypeScript ready!'
}

View File

@ -5,7 +5,7 @@ export class BufferRunner {
// initialize by default
public bufferCounter: number = 0;
constructor(taskArg: Task) {
constructor(taskArg: Task<any>) {
this.task = taskArg;
}

View File

@ -9,7 +9,7 @@ export interface ICycleObject {
export class CycleCounter {
public task: Task;
public cycleObjectArray: ICycleObject[] = [];
constructor(taskArg: Task) {
constructor(taskArg: Task<any>) {
this.task = taskArg;
}
public getPromiseForCycle(cycleCountArg: number) {