Skip to content

Commit a8cc66e

Browse files
committed
Update index.d.ts
1 parent bb99d94 commit a8cc66e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/Shared/Signal/index.d.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/**
2+
* A class for signals in game.
3+
*/
14
declare class Signal<T extends Array<unknown>> {
25
constructor();
36

@@ -8,7 +11,7 @@ declare class Signal<T extends Array<unknown>> {
811
* ```ts
912
* signal.Fire("Hello world");
1013
* ```
11-
* @param args The arguments to fire
14+
* @param args The arguments to fire.
1215
*/
1316
Fire(...args: T): void;
1417

@@ -31,7 +34,7 @@ declare class Signal<T extends Array<unknown>> {
3134
* print(`Event fired! Got message: ${message}`);
3235
* });
3336
* ```
34-
* @param handler The handler to call everytime the event is fired
37+
* @param handler The handler to call everytime the event is fired.
3538
*/
3639
Connect(handler: (...args: T) => void): RBXScriptConnection;
3740

0 commit comments

Comments
 (0)