@munit-solutions/ocpp
Version:
14 lines (13 loc) • 355 B
TypeScript
import ClientCommand from '../enum/ClientCommand';
export default class Message {
uniqueId: string;
action?: ClientCommand;
payload?: any;
messageType: number;
constructor(uniqueId?: string, payload?: {
[key: string]: any;
});
parseString(message: string): void;
toString: () => string;
toArray: () => any[];
}