Closed antirek closed 3 years ago
with venom-bot 2.0.27 build project ok
remove nodemodules and try npm install, here work.
No, it's not work. venom-bot 2.1.2 also.
append to {my_project}/types/spinnies.d.ts and build with venom-bot 2.1.2 ok
declare class spinnies {
constructor(...args: any[]);
add(...args: any[]): void;
bindSigint(...args: any[]): void;
checkIfActiveSpinners(...args: any[]): void;
fail(...args: any[]): void;
hasActiveSpinners(...args: any[]): void;
loopStream(...args: any[]): void;
pick(...args: any[]): void;
remove(...args: any[]): void;
setRawStreamOutput(...args: any[]): void;
setSpinnerProperties(...args: any[]): void;
setStreamOutput(...args: any[]): void;
stopAll(...args: any[]): void;
succeed(...args: any[]): void;
update(...args: any[]): void;
updateSpinnerState(...args: any[]): void;
static dashes: {
frames: string[];
interval: number;
};
static dots: {
frames: string[];
interval: number;
};
}
declare namespace spinnies {
export enum SpinnerStatus {
Succeed = 'succeed',
Fail = 'fail',
Spinning = 'spinning',
NonSpinnable = 'non-spinnable',
Stopped = 'stopped',
}
}
export = spinnies
spinners will be removed in the next versions, wait a little longer for that. for now i'm closing this issue.
Ok, I use venom-bot in docker, I don't need them ))
Ok, I use venom-bot in docker, I don't need them ))
what image did you use to put venom bot inside it?
Install venom-bot 2.1.1
on build project receive error
5 import * as Spinnies from 'spinnies';