align with 10594

pull/10760/head
Rich Harris 3 years ago
parent d265f1b3f5
commit cb44050b84

@ -1,5 +1,5 @@
import type { Block, ComponentContext, EqualsFunctions } from '#client'; import type { Block, ComponentContext, EqualsFunctions } from '#client';
import type { DERIVED, EFFECT, PRE_EFFECT, RENDER_EFFECT, SOURCE } from '../constants'; import type { EFFECT, PRE_EFFECT, RENDER_EFFECT } from '../constants';
export type EffectType = typeof EFFECT | typeof PRE_EFFECT | typeof RENDER_EFFECT; export type EffectType = typeof EFFECT | typeof PRE_EFFECT | typeof RENDER_EFFECT;
@ -10,9 +10,9 @@ export interface Source<V = unknown> {
eq: EqualsFunctions; eq: EqualsFunctions;
/** Flags bitmask */ /** Flags bitmask */
f: number; f: number;
/** value: The latest value for this signal */ /** The latest value for this signal */
v: V; v: V;
// write version /** Write version */
w: number; w: number;
} }

Loading…
Cancel
Save