Skip to content

Commit a6a0eb8

Browse files
Fix constructor for Route in typings which contained an invalid optional parameter
1 parent b151562 commit a6a0eb8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ declare namespace Net {
4545
};
4646

4747
class Route<T extends Array<any>> {
48-
public constructor(configuration: Configuration | null);
48+
public constructor(configuration?: Configuration);
4949

5050
/**
5151
* Sends data to all clients or to specific recipients from the Route's identifier.

0 commit comments

Comments
 (0)