From d12895b92d2b943ff0958bb647d239efccb4961c Mon Sep 17 00:00:00 2001 From: Yann Braga Date: Sat, 22 Jun 2024 12:53:49 +0200 Subject: [PATCH] fix type --- src/setup-page-script.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/setup-page-script.ts b/src/setup-page-script.ts index 6e9d124..e1458cd 100644 --- a/src/setup-page-script.ts +++ b/src/setup-page-script.ts @@ -30,7 +30,7 @@ const TEST_RUNNER_DEBUG_PRINT_LIMIT = parseInt('{{debugPrintLimit}}', 10); // Type definitions for globals declare global { // this is defined in setup-page.ts and can be used for logging from the browser to node, helpful for debugging - var logToPage: (message: string) => void; + var logToPage: (message: string) => Promise; var testRunner_errorMessageFormatter: (message: string) => Promise; }