diff --git a/front/src/iframe_api.ts b/front/src/iframe_api.ts index 290901e4..a927cf75 100644 --- a/front/src/iframe_api.ts +++ b/front/src/iframe_api.ts @@ -8,8 +8,6 @@ import type { PlaySoundEvent } from "./Api/Events/PlaySoundEvent"; import type { StopSoundEvent } from "./Api/Events/StopSoundEvent"; import { isUserInputChatEvent, UserInputChatEvent } from "./Api/Events/UserInputChatEvent"; import SoundConfig = Phaser.Types.Sound.SoundConfig; - - export const registeredCallbacks: { [K in keyof IframeResponseEventMap]?: { typeChecker: Function callback: Function @@ -35,7 +33,6 @@ type ObjectOfKey = O exten type ShouldAddAttribute = ObjectWithKeyOfUnion; - type WorkadventureFunctions = { [K in ApiKeys]: ObjectWithKeyOfUnion extends Function ? K : never }[ApiKeys] type WorkadventureFunctionsFilteredByRoot = { [K in WorkadventureFunctions]: ObjectOfKey["addMethodsAtRoot"] extends true ? K : never }[WorkadventureFunctions]