Skip to content

Commit

Permalink
Replace unknown in types-impl.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
msujew committed Aug 2, 2022
1 parent 50a2886 commit fb9f988
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/plugin-ext/src/plugin/types-impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ export class Position {
return false;
}

toJSON(): unknown {
toJSON(): object {
return { line: this.line, character: this.character };
}
}
Expand Down Expand Up @@ -556,7 +556,7 @@ export class Range {
&& Position.isPosition(range.end);
}

toJSON(): unknown {
toJSON(): object[] {
return [this.start, this.end];
}
}
Expand Down

0 comments on commit fb9f988

Please sign in to comment.