chore: single typing change
This commit is contained in:
@@ -13,7 +13,7 @@ class MockEventSource {
|
|||||||
mockInstances.push(this);
|
mockInstances.push(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
sendMessage(data: any) {
|
sendMessage(data: string) {
|
||||||
// Trigger whatever the component listens to
|
// Trigger whatever the component listens to
|
||||||
this.onmessage?.({ data } as MessageEvent);
|
this.onmessage?.({ data } as MessageEvent);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user