File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
packages/tailwindcss-language-server/src Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ export interface ProjectService {
102
102
state : State
103
103
tryInit : ( ) => Promise < void >
104
104
dispose : ( ) => Promise < void >
105
- onUpdateSettings : ( settings : any ) => void
105
+ onUpdateSettings : ( ) => void
106
106
onFileEvents : ( changes : Array < { file : string ; type : FileChangeType } > ) => void
107
107
onHover ( params : TextDocumentPositionParams ) : Promise < Hover >
108
108
onCompletion ( params : CompletionParams ) : Promise < CompletionList >
@@ -1186,7 +1186,7 @@ export async function createProjectService(
1186
1186
; ( await disposable ) . dispose ( )
1187
1187
}
1188
1188
} ,
1189
- async onUpdateSettings ( settings : any ) : Promise < void > {
1189
+ async onUpdateSettings ( ) : Promise < void > {
1190
1190
if ( state . enabled ) {
1191
1191
refreshDiagnostics ( )
1192
1192
}
Original file line number Diff line number Diff line change @@ -643,7 +643,7 @@ export class TW {
643
643
this . setupLSPHandlers ( )
644
644
645
645
this . disposables . push (
646
- this . connection . onDidChangeConfiguration ( async ( { settings } ) => {
646
+ this . connection . onDidChangeConfiguration ( async ( ) => {
647
647
let previousExclude = globalSettings . tailwindCSS . files . exclude
648
648
649
649
this . settingsCache . clear ( )
@@ -656,7 +656,7 @@ export class TW {
656
656
}
657
657
658
658
for ( let [ , project ] of this . projects ) {
659
- project . onUpdateSettings ( settings )
659
+ project . onUpdateSettings ( )
660
660
}
661
661
} ) ,
662
662
)
You can’t perform that action at this time.
0 commit comments