diff --git a/src/types/main.ts b/src/types/main.ts index 667aa0e..9fa179a 100644 --- a/src/types/main.ts +++ b/src/types/main.ts @@ -22,7 +22,13 @@ export type Duration = number | string /** * A Broadcastable is a value that can be broadcasted to other clients */ -export type Broadcastable = { [key: string]: Broadcastable } | string | number | boolean | null +export type Broadcastable = + | { [key: string]: Broadcastable } + | string + | number + | boolean + | null + | Broadcastable[] export interface TransmitConfig { pingInterval?: Duration | false