Skip to content

Commit

Permalink
Merge pull request #27116 from software-mansion-labs/ts-migration/cur…
Browse files Browse the repository at this point in the history
…rent-date-lib

[No QA] [TS migration] Migrate 'CurrentDate.js' lib to TypeScript
  • Loading branch information
nkuoch authored Sep 13, 2023
2 parents b7539df + 7064b80 commit 6c6b3ad
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) {
Onyx.set(ONYXKEYS.CURRENT_DATE, currentDate);
}

Expand Down

0 comments on commit 6c6b3ad

Please sign in to comment.