Skip to content

Commit

Permalink
fixed type for accord:once
Browse files Browse the repository at this point in the history
  • Loading branch information
Ocipa committed Dec 23, 2023
1 parent 25529ae commit 8b0931e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Accord.luau
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type AccordImpl<T> = {
forceUpdate: (self: Accord<T>) -> (),

connect: (self: Accord<T>, fn: (value: T, oldValue: T) -> ()) -> Signal.Connection<T>,
once: (self: Accord<T>, fn: (value: T) -> ()) -> Signal.Connection<T>,
once: (self: Accord<T>, fn: (value: T, oldValue: T) -> ()) -> Signal.Connection<T>,
observe: <S>(self: Accord<T>, selector: (value: T) -> S, onChange: (value: S) -> ()) -> (),
disconnectAll: (self: Accord<T>) -> (),
}
Expand Down

0 comments on commit 8b0931e

Please sign in to comment.