Skip to content

Commit

Permalink
chore: fix type issue
Browse files Browse the repository at this point in the history
  • Loading branch information
VsevolodX committed Mar 18, 2024
1 parent 5f1d9bf commit 4ca1d18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/other/jupyterlite/MessageHandler.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ declare class MessageHandler {
destroy(): void;
addHandlers(action: IframeMessageSchema["action"], handlers: HandlerFunction[]): void;
private receiveMessage;
sendData(data: JSON): void;
sendData(data: object): void;
}
export default MessageHandler;
2 changes: 1 addition & 1 deletion src/other/jupyterlite/MessageHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class MessageHandler {
}
};

public sendData(data: JSON): void {
public sendData(data: object): void {
const message = {
type: "from-host-to-iframe",
action: "set-data",
Expand Down

0 comments on commit 4ca1d18

Please sign in to comment.