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 >
@@ -1183,7 +1183,7 @@ export async function createProjectService(
1183
1183
; ( await disposable ) . dispose ( )
1184
1184
}
1185
1185
} ,
1186
- async onUpdateSettings ( settings : any ) : Promise < void > {
1186
+ async onUpdateSettings ( ) : Promise < void > {
1187
1187
if ( state . enabled ) {
1188
1188
refreshDiagnostics ( )
1189
1189
}
Original file line number Diff line number Diff line change @@ -655,7 +655,7 @@ export class TW {
655
655
console . log ( `[Global] Initialized ${ enabledProjectCount } projects` )
656
656
657
657
this . disposables . push (
658
- this . connection . onDidChangeConfiguration ( async ( { settings } ) => {
658
+ this . connection . onDidChangeConfiguration ( async ( ) => {
659
659
let previousExclude = globalSettings . tailwindCSS . files . exclude
660
660
661
661
this . settingsCache . clear ( )
@@ -668,7 +668,7 @@ export class TW {
668
668
}
669
669
670
670
for ( let [ , project ] of this . projects ) {
671
- project . onUpdateSettings ( settings )
671
+ project . onUpdateSettings ( )
672
672
}
673
673
} ) ,
674
674
)
You can’t perform that action at this time.
0 commit comments