about summary refs log tree commit diff stats
path: root/src/display/client.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/display/client.nim')
-rw-r--r--src/display/client.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display/client.nim b/src/display/client.nim
index af4b3fb2..1c9e0b1f 100644
--- a/src/display/client.nim
+++ b/src/display/client.nim
@@ -91,7 +91,7 @@ proc `=destroy`(client: var ClientObj) =
 proc doRequest(client: Client, req: Request): Response {.jsfunc.} =
   return client.loader.doRequest(req)
 
-proc fetch(client: Client, req: Request): Promise[Response] {.jsfunc.} =
+proc fetch(client: Client, req: Request): FetchPromise {.jsfunc.} =
   return client.loader.fetch(req)
 
 proc interruptHandler(rt: JSRuntime, opaque: pointer): int {.cdecl.} =