Skip to content

Commit

Permalink
Patch
Browse files Browse the repository at this point in the history
  • Loading branch information
muukii committed Oct 7, 2023
1 parent ee447ac commit 2f188e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/Verge/Derived/Derived.swift
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public class Derived<Value: Equatable>: Store<Value, Never>, DerivedType, @unche

fileprivate var _set: ((Value) -> Void)?

private let upstreamSubscription: (any CancellableType)?
private let upstreamSubscription: (any Cancellable)?
private let retainsUpstream: Any?
private var associatedObjects: ContiguousArray<AnyObject> = .init()

Expand Down Expand Up @@ -104,7 +104,7 @@ public class Derived<Value: Equatable>: Store<Value, Never>, DerivedType, @unche
get pipeline: Pipeline,
set: ((Value) -> Void)?,
initialUpstreamState: UpstreamState,
subscribeUpstreamState: (@escaping (UpstreamState) -> Void) -> CancellableType,
subscribeUpstreamState: (@escaping (UpstreamState) -> Void) -> any Cancellable,
retainsUpstream: Any?
) where Pipeline.Input == UpstreamState, Value == Pipeline.Output {

Expand Down

0 comments on commit 2f188e1

Please sign in to comment.