Skip to content

Commit

Permalink
Change unknown to any in the types
Browse files Browse the repository at this point in the history
* Fix types

* Increment version number

* Revert "Fix types"

This reverts commit 6e18b66.

* Type connect parameters as ...any instead

* A line correction

---------

Co-authored-by: aspecky <60469830+Aspecky@users.noreply.github.com>
  • Loading branch information
Great-Bird and Aspecky authored Jan 14, 2024
1 parent d378fb1 commit f76a0a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ export type Connection<U...> = {

export type Signal<T...> = {
RBXScriptConnection: RBXScriptConnection?,
Connect: <U...>(self: Signal<T...>, fn: (...unknown) -> (), U...) -> Connection<U...>,

Once: <U...>(self: Signal<T...>, fn: (...unknown) -> (), U...) -> Connection<U...>,

Connect: <U...>(self: Signal<T...>, fn: (...any) -> (), U...) -> Connection<U...>,
Once: <U...>(self: Signal<T...>, fn: (...any) -> (), U...) -> Connection<U...>,
Wait: (self: Signal<T...>) -> T...,
Fire: (self: Signal<T...>, T...) -> (),
DisconnectAll: (self: Signal<T...>) -> (),
Expand Down
2 changes: 1 addition & 1 deletion src/wally.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "data-oriented-house/lemonsignal"
version = "1.8.0"
version = "1.8.1"
registry = "https://github.com/UpliftGames/wally-index"
licence = "MIT"
authors = ["Aspecky", "Sona"]
Expand Down

0 comments on commit f76a0a5

Please sign in to comment.