File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
packages/api/src/lib/editor Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1- import { HighlightPosition } from './type'
1+ import { HighlightPosition , Annotation } from './type'
22import { StatusEvents } from '@remixproject/plugin-utils'
33
44export interface IEditor {
@@ -10,6 +10,7 @@ export interface IEditor {
1010 hexColor : string ,
1111 ) : void
1212 discardHighlight ( ) : void
13+ addAnnotation ( annotation : Annotation ) : void
1314 }
1415
1516}
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ export interface HighlightPosition {
1010}
1111
1212export interface Annotation extends Error {
13- row : number ;
14- column : number ;
15- text : string ;
16- type : "error" | "warning" | "information " ;
17- }
13+ row : number ;
14+ column : number ;
15+ text : string ;
16+ type : "error" | "warning" | "info " ;
17+ }
You can’t perform that action at this time.
0 commit comments