Skip to content

Commit

Permalink
adding type definitions for Result in linter experimental extension
Browse files Browse the repository at this point in the history
  • Loading branch information
sereneinserenade authored and hanspagel committed Jun 7, 2021
1 parent f7a7d23 commit cc69609
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions docs/src/demos/Experiments/Linter/extension/LinterPlugin.ts
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit cc69609

Please sign in to comment.