16 lines
273 B
TypeScript
16 lines
273 B
TypeScript
// @ts-nocheck
|
|
import { Text } from "@codemirror/state";
|
|
|
|
export interface Suggestion {
|
|
value: string;
|
|
render: boolean;
|
|
}
|
|
export type OptionalSuggestion = Suggestion | null;
|
|
|
|
export interface InlineSuggestion {
|
|
suggestion: OptionalSuggestion;
|
|
doc: Text | null;
|
|
}
|
|
|
|
|