Skip to content

Commit

Permalink
Merge pull request #26165 from software-mansion-labs/ts-migration/get…
Browse files Browse the repository at this point in the history
…-plaid-desktop-message

[No QA] [TS migration] Migrate 'getPlaidDesktopMessage' lib to TypeScript
  • Loading branch information
amyevans authored Aug 31, 2023
2 parents 648d20d + f6ec2ef commit 24d820a
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 = () => undefined;

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 | undefined;

export default GetPlaidDesktopMessage;

0 comments on commit 24d820a

Please sign in to comment.