From cdc1eac8efefb68dacbb336c69f8de9b5616b063 Mon Sep 17 00:00:00 2001 From: adriano Date: Mon, 13 Feb 2023 20:34:09 -0300 Subject: [PATCH] =?UTF-8?q?Corre=C3=A7=C3=A3o=20do=20erro=20no=20uso=20do?= =?UTF-8?q?=20tipo=20Number/number=20em=20typescript?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/src/helpers/WhatsQueueIndex.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/backend/src/helpers/WhatsQueueIndex.ts b/backend/src/helpers/WhatsQueueIndex.ts index 0dd12d3..5eaddec 100644 --- a/backend/src/helpers/WhatsQueueIndex.ts +++ b/backend/src/helpers/WhatsQueueIndex.ts @@ -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; \ No newline at end of file +} + +export default WhatsQueueIndex; \ No newline at end of file