style(vue2): fix eslint issue with dangling underscore

This commit is contained in:
Dominik Biedebach 2022-05-13 10:22:31 +02:00
parent 80de6cdf18
commit 413a923d57

View File

@ -1,14 +1,16 @@
import { Node as ProseMirrorNode } from 'prosemirror-model'
import { Decoration, NodeView as ProseMirrorNodeView } from 'prosemirror-view'
import Vue from 'vue'
import { PropType, VueConstructor } from 'vue/types/umd'
import {
NodeView,
NodeViewProps,
NodeViewRenderer,
NodeViewRendererProps,
NodeViewRendererOptions,
NodeViewRendererProps,
} from '@tiptap/core'
import { Decoration, NodeView as ProseMirrorNodeView } from 'prosemirror-view'
import { Node as ProseMirrorNode } from 'prosemirror-model'
import Vue from 'vue'
import { VueConstructor, PropType } from 'vue/types/umd'
import { Editor } from './Editor'
import { VueRenderer } from './VueRenderer'
@ -84,7 +86,7 @@ class VueNodeView extends NodeView<(Vue | VueConstructor), Editor, VueNodeViewRe
})
// @ts-ignore
const vue = this.editor.contentComponent?.$options._base ?? Vue
const vue = this.editor.contentComponent?.$options._base ?? Vue // eslint-disable-line
const Component = vue
.extend(this.component)