@@ -52,7 +52,7 @@ export abstract class AnnotationProviderBase<TContext extends AnnotationContext
5252		) ; 
5353	} 
5454
55- 	dispose ( )  { 
55+ 	dispose ( ) :  void   { 
5656		void  this . clear ( ) ; 
5757
5858		this . disposable . dispose ( ) ; 
@@ -102,7 +102,7 @@ export abstract class AnnotationProviderBase<TContext extends AnnotationContext
102102		return  true ; 
103103	} 
104104
105- 	async  clear ( )  { 
105+ 	async  clear ( ) :  Promise < void >  { 
106106		if  ( this . _computing ?. pending )  { 
107107			await  this . _computing . promise ; 
108108		} 
@@ -156,7 +156,7 @@ export abstract class AnnotationProviderBase<TContext extends AnnotationContext
156156
157157	protected  abstract  onProvideAnnotation ( context ?: TContext ,  state ?: AnnotationState ) : Promise < boolean > ; 
158158
159- 	refresh ( replaceDecorationTypes : Map < TextEditorDecorationType ,  TextEditorDecorationType  |  null > )  { 
159+ 	refresh ( replaceDecorationTypes : Map < TextEditorDecorationType ,  TextEditorDecorationType  |  null > ) :  void   { 
160160		if  ( this . editor  ==  null  ||  ! this . decorations ?. length )  return ; 
161161
162162		const  decorations  =  [ ] ; 
@@ -175,7 +175,7 @@ export abstract class AnnotationProviderBase<TContext extends AnnotationContext
175175		this . setDecorations ( this . decorations ) ; 
176176	} 
177177
178- 	restore ( editor : TextEditor ,  recompute ?: boolean )  { 
178+ 	restore ( editor : TextEditor ,  recompute ?: boolean ) :  void   { 
179179		// If the editor isn't disposed then we don't need to do anything 
180180		// Explicitly check for `false` 
181181		if  ( ( this . editor  as  any ) . _disposed  ===  false )  return ; 
@@ -201,7 +201,7 @@ export abstract class AnnotationProviderBase<TContext extends AnnotationContext
201201	selection ?( selection ?: TContext [ 'selection' ] ) : Promise < void > ; 
202202	validate ?( ) : boolean  |  Promise < boolean > ; 
203203
204- 	protected  setDecorations ( decorations : Decoration [ ] )  { 
204+ 	protected  setDecorations ( decorations : Decoration [ ] ) :  void   { 
205205		if  ( this . decorations ?. length )  { 
206206			// If we have no new decorations, just completely clear the old ones 
207207			if  ( ! decorations ?. length )  { 
0 commit comments