diff --git a/README.md b/README.md index 2493940..33209a4 100644 --- a/README.md +++ b/README.md @@ -172,7 +172,7 @@ interface RFBOptions { target?: string; }; repeaterID: string; - wsProtocols: string; + wsProtocols: string | string[]; } ``` diff --git a/src/lib/VncScreen.tsx b/src/lib/VncScreen.tsx index 5254140..af032d9 100644 --- a/src/lib/VncScreen.tsx +++ b/src/lib/VncScreen.tsx @@ -15,7 +15,7 @@ export interface RFBOptions { target?: string; }; repeaterID: string; - wsProtocols: string; + wsProtocols: string | string[]; } export interface Props {