This commit is contained in:
kakkokari-gtyih 2024-06-02 20:18:36 +09:00
parent 164998823f
commit 7a1e28d674
1 changed files with 2 additions and 2 deletions

View File

@ -17,13 +17,13 @@ export interface PostMessageEventPayload extends Record<PostMessageEventType, an
'misskey:embed:changeHeight': {
height: number;
};
};
}
export type MiPostMessageEvent<T extends PostMessageEventType = PostMessageEventType> = {
type: T;
iframeId?: string;
payload?: PostMessageEventPayload[T];
};
}
let defaultIframeId: string | null = null;