Update front/src/Api/Events/IframeEvent.ts

Co-authored-by: David Négrier <d.negrier@thecodingmachine.com>
This commit is contained in:
Bénédicte Q 2021-12-08 10:14:31 +01:00 committed by GitHub
parent 8a6ad40d6b
commit e60ed68cd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,7 +62,7 @@ export type IframeEventMap = {
registerMenu: MenuRegisterEvent; registerMenu: MenuRegisterEvent;
unregisterMenu: UnregisterMenuEvent; unregisterMenu: UnregisterMenuEvent;
setTiles: SetTilesEvent; setTiles: SetTilesEvent;
modifyEmbeddedWebsite: Partial<EmbeddedWebsite>; // Note: name should be compulsory in fact; modifyEmbeddedWebsite: Partial<EmbeddedWebsite>; // Note: name should be compulsory in fact
}; };
export interface IframeEvent<T extends keyof IframeEventMap> { export interface IframeEvent<T extends keyof IframeEventMap> {
type: T; type: T;