Skip to content

Commit

Permalink
Merge pull request #26107 from software-mansion-labs/ts-migration/wil…
Browse files Browse the repository at this point in the history
…lBlurTextInputOnTapOutside

[No QA][TS migration] Migrate 'willBlurTextInputOnTapOutside' lib to TypeScript
  • Loading branch information
stitesExpensify authored Sep 12, 2023
2 parents 59feadc + dd46aa7 commit ec75ffc
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/libs/willBlurTextInputOnTapOutside/index.js

This file was deleted.

1 change: 0 additions & 1 deletion src/libs/willBlurTextInputOnTapOutside/index.native.js

This file was deleted.

5 changes: 5 additions & 0 deletions src/libs/willBlurTextInputOnTapOutside/index.native.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import WillBlurTextInputOnTapOutside from './types';

const willBlurTextInputOnTapOutside: WillBlurTextInputOnTapOutside = () => false;

export default willBlurTextInputOnTapOutside;
5 changes: 5 additions & 0 deletions src/libs/willBlurTextInputOnTapOutside/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import WillBlurTextInputOnTapOutside from './types';

const willBlurTextInputOnTapOutside: WillBlurTextInputOnTapOutside = () => true;

export default willBlurTextInputOnTapOutside;
3 changes: 3 additions & 0 deletions src/libs/willBlurTextInputOnTapOutside/types.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
type WillBlurTextInputOnTapOutside = () => boolean;

export default WillBlurTextInputOnTapOutside;

0 comments on commit ec75ffc

Please sign in to comment.