adding types to LinterPlugin.ts

This commit is contained in:
Jeet Mandaliya
2021-06-18 23:22:44 +05:30
parent d3f2d330c1
commit 38ffcb3894

View File

@@ -1,8 +1,10 @@
interface Result {
import { Node as ProsemirrorNode } from 'prosemirror-model'
export interface Result {
message: string,
from: number,
to: number,
fix?: null
fix?: Function
}
export default class LinterPlugin {