This commit is contained in:
kakkokari-gtyih 2024-06-02 20:18:36 +09:00
parent 164998823f
commit 7a1e28d674

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;