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
This commit is contained in:
Taylor Yelverton
2019-10-30 09:39:28 -05:00
committed by Jesse Trinity
parent d77ee72756
commit 92e12e8810

View File

@@ -28,7 +28,7 @@ declare module ActionCable {
connected?(): void;
disconnected?(): void;
received?(obj: any): void;
[key: string]: Function;
[key: string]: any;
}
interface ChannelNameWithParams {