Commit 380583f 1 parent 9f63907 commit 380583f Copy full SHA for 380583f
File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -882,11 +882,11 @@ export default class ConnectionManager {
882
882
// Notify the language service that the editor with the specified URI doesn't have a language flavor to avoid error squiggles
883
883
if ( flavor === Constants . noneProviderName ) {
884
884
SqlToolsServerClient . instance . sendNotification ( LanguageServiceContracts . LanguageFlavorChangedNotification . type ,
885
- < LanguageServiceContracts . DidChangeLanguageFlavorParams > {
885
+ {
886
886
uri : fileUri ,
887
887
language : 'sql' ,
888
888
flavor : Constants . noneProviderName
889
- } ) ;
889
+ } as LanguageServiceContracts . DidChangeLanguageFlavorParams ) ;
890
890
}
891
891
}
892
892
this . vscodeWrapper . logToOutputChannel (
Original file line number Diff line number Diff line change @@ -1297,11 +1297,11 @@ export default class MainController implements vscode.Disposable {
1297
1297
// Notify the language service that the editor with the specified URI doesn't have a language flavor to avoid error squiggles.
1298
1298
if ( flavor === Constants . noneProviderName ) {
1299
1299
SqlToolsServerClient . instance . sendNotification ( LanguageFlavorChangedNotification . type ,
1300
- < DidChangeLanguageFlavorParams > {
1300
+ {
1301
1301
uri : doc . uri . toString ( true ) ,
1302
1302
language : 'sql' ,
1303
1303
flavor : Constants . noneProviderName
1304
- } ) ;
1304
+ } as DidChangeLanguageFlavorParams ) ;
1305
1305
}
1306
1306
}
1307
1307
You can’t perform that action at this time.
0 commit comments