Skip to content

Commit

Permalink
Merge pull request #37171 from Expensify/Rory-FixTSOnMain
Browse files Browse the repository at this point in the history
[No QA] Fix failing TS on main
  • Loading branch information
danieldoglas authored Feb 24, 2024
2 parents e9fb49d + 8ab8000 commit 88a0f35
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions tests/e2e/utils/execAsync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,5 @@ export default (command: string, env: NodeJS.ProcessEnv = {}): PromiseWithAbort

return promise;
};

export type {PromiseWithAbort};
3 changes: 2 additions & 1 deletion tests/e2e/utils/killApp.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import config from '../config';
import execAsync from './execAsync';
import type {PromiseWithAbort} from './execAsync';

const killApp = function (platform = 'android', packageName = config.MAIN_APP_PACKAGE): Promise<void> {
const killApp = function (platform = 'android', packageName = config.MAIN_APP_PACKAGE): PromiseWithAbort {
if (platform !== 'android') {
throw new Error(`killApp() missing implementation for platform: ${platform}`);
}
Expand Down

0 comments on commit 88a0f35

Please sign in to comment.