Skip to content

Commit

Permalink
Fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
Sleitnick committed Apr 22, 2024
1 parent e147fe4 commit 5b142be
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
| [Quaternion](https://sleitnick.github.io/RbxUtil/api/Quaternion) | `Quaternion = "sleitnick/quaternion@0.2.3"` | Quaternion class |
| [Sequent](https://sleitnick.github.io/RbxUtil/api/Sequent) | `Sequent = "sleitnick/sequent@0.1.0"` | Sequent class |
| [Ser](https://sleitnick.github.io/RbxUtil/api/Ser) | `Ser = "sleitnick/ser@1.0.5"` | Ser class for serialization and deserialization |
| [Shake](https://sleitnick.github.io/RbxUtil/api/Shake) | `Shake = "sleitnick/shake@1.0.0"` | Shake class for making things shake |
| [Shake](https://sleitnick.github.io/RbxUtil/api/Shake) | `Shake = "sleitnick/shake@1.0.1"` | Shake class for making things shake |
| [Signal](https://sleitnick.github.io/RbxUtil/api/Signal) | `Signal = "sleitnick/signal@2.0.1"` | Signal class |
| [Silo](https://sleitnick.github.io/RbxUtil/api/Silo) | `Silo = "sleitnick/silo@0.2.0"` | State container class |
| [Streamable](https://sleitnick.github.io/RbxUtil/api/Streamable) | `Streamable = "sleitnick/streamable@1.2.4"` | Streamable class and StreamableUtil |
Expand Down
8 changes: 6 additions & 2 deletions modules/shake/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,12 @@ export type Shake = {
IsShaking: (self: Shake) -> boolean,
StopSustain: (self: Shake) -> (),
Update: (self: Shake) -> (Vector3, Vector3, boolean),
OnSignal: (signal: RBXScriptSignal, callback: (Vector3, Vector3, boolean) -> ()) -> RBXScriptConnection,
BindToRenderStep: (name: string, priority: number, callback: (Vector3, Vector3, boolean) -> ()) -> (),
OnSignal: (
self: Shake,
signal: RBXScriptSignal,
callback: (Vector3, Vector3, boolean) -> ()
) -> RBXScriptConnection,
BindToRenderStep: (self: Shake, name: string, priority: number, callback: (Vector3, Vector3, boolean) -> ()) -> (),
Clone: (self: Shake) -> Shake,
Destroy: (self: Shake) -> (),
}
Expand Down
2 changes: 1 addition & 1 deletion modules/shake/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rbxutil/shake",
"version": "1.0.0",
"version": "1.0.1",
"main": "init.lua",
"repository": "github:Sleitnick/RbxUtil",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion modules/shake/wally.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "sleitnick/shake"
description = "Shake class for making things shake"
version = "1.0.0"
version = "1.0.1"
license = "MIT"
authors = ["Stephen Leitnick"]
registry = "https://github.com/UpliftGames/wally-index"
Expand Down

0 comments on commit 5b142be

Please sign in to comment.