Commit 7df1e220 authored by Robert Knight's avatar Robert Knight

Mark private methods as such

parent 4d416cb0
......@@ -301,7 +301,7 @@ export class PortRPC<OnMethod extends string, CallMethod extends string>
/**
* Validate message
*/
_parseMessage({ data }: MessageEvent): Message | null {
private _parseMessage({ data }: MessageEvent): Message | null {
if (!data || typeof data !== 'object') {
return null;
}
......@@ -318,7 +318,7 @@ export class PortRPC<OnMethod extends string, CallMethod extends string>
return data;
}
_handle(event: MessageEvent) {
private _handle(event: MessageEvent) {
const msg = this._parseMessage(event);
const port = this._port;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment