Skip to content

Commit

Permalink
[TS migration] Migrate 'CurrentDate.js' lib to TypeScript
Browse files Browse the repository at this point in the history
  • Loading branch information
BartoszGrajdek committed Sep 10, 2023
1 parent 1bdc5ac commit acb16e3
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
import Onyx from 'react-native-onyx';
import ONYXKEYS from '../../ONYXKEYS';

/**
* @param {String} currentDate
*/
function setCurrentDate(currentDate) {
function setCurrentDate(currentDate: string): void {
Onyx.set(ONYXKEYS.CURRENT_DATE, currentDate);
}

Expand Down

0 comments on commit acb16e3

Please sign in to comment.