diff --git a/packages/qwik/src/core/v2/signal/v2-signal.ts b/packages/qwik/src/core/v2/signal/v2-signal.ts index 8596c988823..9f28ace94b4 100644 --- a/packages/qwik/src/core/v2/signal/v2-signal.ts +++ b/packages/qwik/src/core/v2/signal/v2-signal.ts @@ -161,6 +161,11 @@ export class Signal2 extends Subscriber implements ISignal2 { return this.$untrackedValue$; } + // TODO: should we disallow setting the value directly? + set untrackedValue(value: T) { + this.$untrackedValue$ = value; + } + get value() { const ctx = tryGetInvokeContext(); if (ctx) {