UNPKG

@openfga/frontend-utils

Version:

Exposes helpful utilities for building authoring experiences of OpenFGA Models.

7 lines (6 loc) 454 B
import type { editor, languages } from "monaco-editor"; import { SchemaVersion } from "../../../constants/schema-version"; import { Marker, MonacoEditor } from "../typings"; export declare const provideCodeActions: (monaco: typeof MonacoEditor, schemaVersion: SchemaVersion) => (model: editor.ITextModel, range: MonacoEditor.Range, context: languages.CodeActionContext & { markers: Marker[]; }) => languages.ProviderResult<languages.CodeActionList>;