Skip to content

Commit

Permalink
fix: wsProtocols should take string|string[] (#47)
Browse files Browse the repository at this point in the history
Co-authored-by: Aritra <[email protected]>
  • Loading branch information
roerohan and devpilot authored Aug 1, 2023
1 parent b78227e commit 4235cce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ interface RFBOptions {
target?: string;
};
repeaterID: string;
wsProtocols: string;
wsProtocols: string | string[];
}
```

Expand Down
2 changes: 1 addition & 1 deletion src/lib/VncScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export interface RFBOptions {
target?: string;
};
repeaterID: string;
wsProtocols: string;
wsProtocols: string | string[];
}

export interface Props {
Expand Down

0 comments on commit 4235cce

Please sign in to comment.