Skip to content

Type Alias: EditorEnableSource ​

ts
type EditorEnableSource = 
  | readonly Extension[]
  | (() => Promise<
  | readonly Extension[]
  | {
  default: readonly Extension[];
}>);

Extensions to enable, or a loader for them (a module whose default export is the list works too).