From 92e12e881083fc4bb3fcf70e72fedb64329d7f94 Mon Sep 17 00:00:00 2001 From: Taylor Yelverton Date: Wed, 30 Oct 2019 09:39:28 -0500 Subject: [PATCH] ActionCable: CreateMixin excess properties can be any type. (#39418) ActionCable.CreateMixin acts as, literally, a class mixin, thus, its properties can be anything. See: https://github.com/rails/rails/blob/master/actioncable/app/assets/javascripts/action_cable.js#L328-L336 --- types/actioncable/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/actioncable/index.d.ts b/types/actioncable/index.d.ts index d0e2216e73..91448be865 100644 --- a/types/actioncable/index.d.ts +++ b/types/actioncable/index.d.ts @@ -28,7 +28,7 @@ declare module ActionCable { connected?(): void; disconnected?(): void; received?(obj: any): void; - [key: string]: Function; + [key: string]: any; } interface ChannelNameWithParams {