Correção do erro no uso do tipo Number/number em typescript

pull/21/head
adriano 2023-02-13 20:34:09 -03:00
parent 221caefa20
commit cdc1eac8ef
1 changed files with 8 additions and 8 deletions

View File

@ -1,16 +1,16 @@
class WhatsQueueIndex {
static staticIndex:Number = 0;
static setIndex(index:Number){
static staticIndex: number = 0;
static setIndex(index: number) {
this.staticIndex = index
}
static getIndex(){
static getIndex() {
return this.staticIndex
}
}
export default WhatsQueueIndex;
}
export default WhatsQueueIndex;