Skip to content

Commit

Permalink
Merge pull request #26974 from software-mansion-labs/@Skalakid/ts/Com…
Browse files Browse the repository at this point in the history
…poser

[TS migration] Migrate 'Composer.js' lib to TypeScript
  • Loading branch information
amyevans authored Sep 11, 2023
2 parents 5fd826f + 333ff1d commit 48437ac
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 {Boolean} shouldShowComposeInput
*/
function setShouldShowComposeInput(shouldShowComposeInput) {
function setShouldShowComposeInput(shouldShowComposeInput: boolean) {
Onyx.set(ONYXKEYS.SHOULD_SHOW_COMPOSE_INPUT, shouldShowComposeInput);
}

Expand Down

0 comments on commit 48437ac

Please sign in to comment.