Skip to content

Commit

Permalink
Move type
Browse files Browse the repository at this point in the history
  • Loading branch information
toasted-nutbread committed Dec 29, 2023
1 parent 730c837 commit 52341bc
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions types/ext/display.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,15 +166,6 @@ export type Events = {

export type EventArgument<TName extends EventNames<Events>> = BaseEventArgument<Events, TName>;

export type ConfigureMessageDetails = {
depth: number;
parentPopupId: string;
parentFrameId: number;
childrenSupported: boolean;
scale: number;
optionsContext: Settings.OptionsContext;
};

export type DisplayGeneratorConstructorDetails = {
japaneseUtil: JapaneseUtil;
contentManager: DisplayContentManager;
Expand Down Expand Up @@ -213,7 +204,14 @@ export type DirectApiSurface = {
return: void;
};
displayConfigure: {
params: ConfigureMessageDetails;
params: {
depth: number;
parentPopupId: string;
parentFrameId: number;
childrenSupported: boolean;
scale: number;
optionsContext: Settings.OptionsContext;
};
return: void;
};
displayVisibilityChanged: {
Expand Down

0 comments on commit 52341bc

Please sign in to comment.