Fix ReadOnlySignal alias without storage (#4735)

This commit is contained in:
Evan Almloff authored and GitHub committed 2025-10-07 23:08:00 -07:00
1 parent 92792aded9
commit fa5d7e681b
1 file changed
+1 -1
+1 -1
View File
@@ -14,7 +14,7 @@ use crate::{
since = "0.7.0",
note = "Use `ReadSignal` instead. Will be removed in 0.8"
)]
pub type ReadOnlySignal<T, S> = ReadSignal<T, S>;
pub type ReadOnlySignal<T, S = UnsyncStorage> = ReadSignal<T, S>;
/// A boxed version of [Readable] that can be used to store any readable type.
pub struct ReadSignal<T: ?Sized, S: BoxedSignalStorage<T> = UnsyncStorage> {