Skip to content

ShellDialogArgs beta ​

TypeAlias of @v12-engine/editor

ts
export type ShellDialogArgs<K extends ShellDialogId> = ShellDialogs[K] extends undefined ? [] : [args: ShellDialogs[K]];

What openDialog is given after the id: nothing for a dialog opened with nothing