Skip to content

⬅️ Back to Table of Contents

📄 editor/types

📊 Analysis Summary

Metric Count
📦 Imports 5
📐 Interfaces 1

📚 Table of Contents

🛠️ File Location:

📂 packages/website/src/components/editor/types.ts

📦 Imports

Name Source
UpdateModel ../linter/types
ConfigModel ../types
ErrorGroup ../types
SelectedRange ../types
TabType ../types

Interfaces

CommonEditorProps

Interface Code
export interface CommonEditorProps extends ConfigModel {
  readonly activeTab: TabType;
  readonly onASTChange: (value: UpdateModel | undefined) => void;
  readonly onChange: (cfg: Partial<ConfigModel>) => void;
  readonly onMarkersChange: React.Dispatch<
    React.SetStateAction<Record<TabType, ErrorGroup[]>>
  >;
  readonly onSelect: (position?: number) => void;
  readonly selectedRange?: SelectedRange;
}

Properties

Name Type Optional Description
activeTab TabType not shown
onASTChange (value: UpdateModel \| undefined) => void not shown
onChange (cfg: Partial<ConfigModel>) => void not shown
onMarkersChange React.Dispatch< React.SetStateAction<Record<TabType, ErrorGroup[]>> > not shown
onSelect (position?: number) => void not shown
selectedRange SelectedRange not shown

Generated by Syntax Scribe