mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 14:20:12 +00:00
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:
committed by
Jesse Trinity
parent
d77ee72756
commit
92e12e8810
2
types/actioncable/index.d.ts
vendored
2
types/actioncable/index.d.ts
vendored
@@ -28,7 +28,7 @@ declare module ActionCable {
|
||||
connected?(): void;
|
||||
disconnected?(): void;
|
||||
received?(obj: any): void;
|
||||
[key: string]: Function;
|
||||
[key: string]: any;
|
||||
}
|
||||
|
||||
interface ChannelNameWithParams {
|
||||
|
||||
Reference in New Issue
Block a user