fixed
parent
e3be6889ac
commit
7646e323bc
|
@ -112,9 +112,9 @@
|
|||
]
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "7.0.43",
|
||||
"@types/node": "^18.14.5",
|
||||
"@types/vscode": "^1.22.0",
|
||||
"typescript": "^3.2.2",
|
||||
"typescript": "^4.9.5",
|
||||
"vscode-languageserver-types": "^3.6.0"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
@ -32,7 +32,7 @@ export class CompletionsCache {
|
|||
public updateCached(
|
||||
context: TextDocument,
|
||||
position: Position,
|
||||
completions: CompletionList
|
||||
completions: any
|
||||
) {
|
||||
this._cachedCompletionsFile = context.fileName
|
||||
this._cachedCompletionsPosition = position
|
||||
|
|
|
@ -113,7 +113,7 @@ export class HTMLStyleCompletionItemProvider implements CompletionItemProvider {
|
|||
completions.isIncomplete = true
|
||||
}
|
||||
|
||||
this._cache.updateCached(document, position, completions as CompletionList)
|
||||
this._cache.updateCached(document, position, completions)
|
||||
|
||||
return {
|
||||
isIncomplete: completions.isIncomplete,
|
||||
|
@ -201,7 +201,7 @@ export class CSSCompletionItemProvider implements CompletionItemProvider {
|
|||
completions.isIncomplete = true
|
||||
}
|
||||
|
||||
this._cache.updateCached(document, position, completions as CompletionList)
|
||||
this._cache.updateCached(document, position, completions)
|
||||
|
||||
return {
|
||||
isIncomplete: completions.isIncomplete,
|
||||
|
|
|
@ -94,7 +94,7 @@ export class HTMLCompletionItemProvider implements CompletionItemProvider {
|
|||
completions.isIncomplete = true
|
||||
}
|
||||
|
||||
this._cache.updateCached(document, position, completions as CompletionList)
|
||||
this._cache.updateCached(document, position, completions)
|
||||
|
||||
return {
|
||||
isIncomplete: completions.isIncomplete,
|
||||
|
|
Loading…
Reference in New Issue