import { Message , MessageType } from 'src/ts/messaging/message' ; export class LogToConsoleMessage extends Message { public static readonly TYPE : MessageType = 'LogToConsole' ; public optionalParams : any [ ] ; public constructor ( public message , ... optionalParams ) { super ( LogToConsoleMessage . TYPE , { message , optionalParams } ) ; this . optionalParams = optionalParams ; } }