diff --git a/src/libs/actions/ActiveClients.js b/src/libs/actions/ActiveClients.ts similarity index 69% rename from src/libs/actions/ActiveClients.js rename to src/libs/actions/ActiveClients.ts index 744944cfef1c..45fcff402f49 100644 --- a/src/libs/actions/ActiveClients.js +++ b/src/libs/actions/ActiveClients.ts @@ -1,11 +1,7 @@ import Onyx from 'react-native-onyx'; import ONYXKEYS from '../../ONYXKEYS'; -/** - * @param {Array} activeClients - * @return {Promise} - */ -function setActiveClients(activeClients) { +function setActiveClients(activeClients: string[]): Promise { return Onyx.set(ONYXKEYS.ACTIVE_CLIENTS, activeClients); }