init
This commit is contained in:
14
src/render-plugin/types.ts
Normal file
14
src/render-plugin/types.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user