From c17b5c36c69ab7752bb6f1cc8a36a12f5f5f156d Mon Sep 17 00:00:00 2001 From: Jake Archibald Date: Mon, 9 Nov 2020 11:53:49 +0000 Subject: [PATCH] The client needs to be able to see types from the worker --- client-tsconfig.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/client-tsconfig.json b/client-tsconfig.json index 93b5863a..c42935a3 100644 --- a/client-tsconfig.json +++ b/client-tsconfig.json @@ -7,6 +7,11 @@ "include": [ "src/features/**/client/**/*", "src/features/**/shared/**/*", + // Not really clean, but we need to access the type of the functions here + // for comlink + "src/features/**/worker/**/*", + // And again. + "src/features-worker/**/*", "src/shared/**/*", "src/client/**/*" ]