Skip to content

Commit

Permalink
fix ClientOptions types
Browse files Browse the repository at this point in the history
  • Loading branch information
JadlionHD committed Jun 22, 2023
1 parent 82ec378 commit 1cafa77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "growtopia.js",
"version": "1.2.0",
"version": "1.2.1",
"description": "A package to create a growtopia private servers.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/structures/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Client extends EventEmitter {
public _client: ClientType;
public config: ClientOptions;

constructor(options: ClientOptions) {
constructor(options?: ClientOptions) {
super();

this.config = Object.assign(
Expand Down

0 comments on commit 1cafa77

Please sign in to comment.