In my angular 8 application I am getting error error TS2362: The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type. in the code below at line
const source: any = timer(0, environment.corePingIntervalSeconds * 1000);
const source: any = timer(0, environment.corePingIntervalSeconds * 1000);
source.subscribe(() => {
this.checkIfCoreApiIsAvailable()
.pipe(first())
.subscribe(resp => {
}, err => console.log(err));
});
environment.corePingIntervalSeconds
? – Sam