diff --git a/.bazelrc b/.bazelrc
index 8718efc26..ec5ea5684 100644
--- a/.bazelrc
+++ b/.bazelrc
@@ -28,4 +28,10 @@ build --incompatible_default_to_explicit_init_py
build:ci --show_timestamps --isatty=0 --color=yes --show_progress_rate_limit=5
+# the typescript generation hack in rules_svelte is not hermetic, and
+# converts declared types in props to 'any' if it's not run locally.
+# Fixing it properly will probably require moving the Svelete rules to
+# ts_project()
+build:ci --strategy Svelte=local
+
try-import %workspace%/user.bazelrc
diff --git a/ts/graphs/GraphsPage.svelte b/ts/graphs/GraphsPage.svelte
index 1eaa9cac4..d01c33175 100644
--- a/ts/graphs/GraphsPage.svelte
+++ b/ts/graphs/GraphsPage.svelte
@@ -1,5 +1,4 @@