mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-25 04:19:02 +08:00
adding type definitions for Result in linter experimental extension
This commit is contained in:
parent
6212cb46d1
commit
224bb31d82
@ -1,8 +1,14 @@
|
||||
// @ts-nocheck
|
||||
interface Result {
|
||||
message: string,
|
||||
from: number,
|
||||
to: number,
|
||||
fix?: null
|
||||
}
|
||||
|
||||
export default class LinterPlugin {
|
||||
protected doc
|
||||
|
||||
private results = []
|
||||
private results: Array<Result> = []
|
||||
|
||||
constructor(doc: any) {
|
||||
this.doc = doc
|
||||
|
Loading…
Reference in New Issue
Block a user