From d2c141755ed071f32a41acaeb3ae4f58b0c610a4 Mon Sep 17 00:00:00 2001 From: Blazej Kustra Date: Fri, 8 Sep 2023 13:16:37 +0200 Subject: [PATCH] [TS migration] Migrate 'AppUpdate.js' lib to TypeScript --- src/libs/actions/{AppUpdate.js => AppUpdate.ts} | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) rename src/libs/actions/{AppUpdate.js => AppUpdate.ts} (78%) diff --git a/src/libs/actions/AppUpdate.js b/src/libs/actions/AppUpdate.ts similarity index 78% rename from src/libs/actions/AppUpdate.js rename to src/libs/actions/AppUpdate.ts index 502ef9762252..f0e3c1c3da20 100644 --- a/src/libs/actions/AppUpdate.js +++ b/src/libs/actions/AppUpdate.ts @@ -5,10 +5,7 @@ function triggerUpdateAvailable() { Onyx.set(ONYXKEYS.UPDATE_AVAILABLE, true); } -/** - * @param {Boolean} isBeta - */ -function setIsAppInBeta(isBeta) { +function setIsAppInBeta(isBeta: boolean) { Onyx.set(ONYXKEYS.IS_BETA, isBeta); }