use eslint auto fix
This commit is contained in:
@@ -9,7 +9,7 @@ import {
|
||||
WidgetType,
|
||||
} from "@codemirror/view";
|
||||
|
||||
import { cancelSuggestion, InlineSuggestionState } from "./states";
|
||||
import { InlineSuggestionState, cancelSuggestion } from "./states";
|
||||
import { OptionalSuggestion, Suggestion } from "./types";
|
||||
|
||||
const RenderSuggestionPlugin = () =>
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
// @ts-nocheck
|
||||
import { Text } from "@codemirror/state";
|
||||
|
||||
export interface Suggestion {
|
||||
export type Suggestion = {
|
||||
value: string;
|
||||
render: boolean;
|
||||
}
|
||||
export type OptionalSuggestion = Suggestion | null;
|
||||
|
||||
export interface InlineSuggestion {
|
||||
export type InlineSuggestion = {
|
||||
suggestion: OptionalSuggestion;
|
||||
doc: Text | null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user