Skip to content

Commit

Permalink
[TS migration] Migrate 'getPlaidDesktopMessage' lib to TypeScript
Browse files Browse the repository at this point in the history
  • Loading branch information
BartoszGrajdek committed Aug 29, 2023
1 parent fd755ee commit 7dad953
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/libs/getPlaidDesktopMessage/index.desktop.js

This file was deleted.

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

const getPlaidDesktopMessage: GetPlaidDesktopMessage = () => 'bankAccount.desktopConnection';

export default getPlaidDesktopMessage;
1 change: 0 additions & 1 deletion src/libs/getPlaidDesktopMessage/index.js

This file was deleted.

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

const getPlaidDesktopMessage: GetPlaidDesktopMessage = () => {};

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

export default GetPlaidDesktopMessage;

0 comments on commit 7dad953

Please sign in to comment.