Adding support for default variables values
This commit is contained in:
parent
abd53b6251
commit
c30de8c6db
10 changed files with 92 additions and 44 deletions
|
@ -88,13 +88,11 @@ export type IframeQueryMap = {
|
|||
getState: {
|
||||
query: undefined,
|
||||
answer: GameStateEvent,
|
||||
callback: () => GameStateEvent|PromiseLike<GameStateEvent>
|
||||
},
|
||||
getMapData: {
|
||||
query: undefined,
|
||||
answer: MapDataEvent,
|
||||
callback: () => MapDataEvent|PromiseLike<GameStateEvent>
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
export interface IframeQuery<T extends keyof IframeQueryMap> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue