Skip to content

Commit

Permalink
Merge pull request Expensify#27014 from software-mansion-labs/ts-migr…
Browse files Browse the repository at this point in the history
…ation/ActiveClients

[No QA][TS migration] Migrate 'ActiveClients.js' lib to TypeScript
  • Loading branch information
Hayata Suenaga authored Sep 12, 2023
2 parents 37feea6 + acb47d1 commit 5f668c6
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
@@ -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<void> {
return Onyx.set(ONYXKEYS.ACTIVE_CLIENTS, activeClients);
}

Expand Down

0 comments on commit 5f668c6

Please sign in to comment.