mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
WEB-63850 TS: properly handle strictNullChecks setting - fix Web Symbols and Vue
GitOrigin-RevId: 53a97ce80fdf7368d93bd9958940259eea57713b
This commit is contained in:
committed by
intellij-monorepo-bot
parent
a046ab5148
commit
1d57188894
-2
@@ -8,8 +8,6 @@ import com.intellij.webSymbols.completion.WebSymbolCodeCompletionItem
|
||||
|
||||
interface WebSymbolHtmlAttributeValueTypeSupport : WebSymbolTypeSupport {
|
||||
|
||||
fun resolve(symbol: WebSymbol, type: Any?): Any?
|
||||
|
||||
/**
|
||||
* @return [ThreeState.YES] if the type is equal to boolean ignoring null or undefined values,
|
||||
* [ThreeState.UNSURE] if the boolean is assignable to the type and
|
||||
|
||||
+1
-1
@@ -50,7 +50,7 @@ internal data class WebSymbolHtmlAttributeInfoImpl(
|
||||
WebSymbolHtmlAttributeValue.Type.SYMBOL -> null
|
||||
WebSymbolHtmlAttributeValue.Type.OF_MATCH -> symbol.type
|
||||
WebSymbolHtmlAttributeValue.Type.COMPLEX -> attrValue?.langType
|
||||
}?.let { typeSupport.resolve(symbol, it) }
|
||||
}
|
||||
else null
|
||||
|
||||
val isHtmlBoolean = if (kind == WebSymbolHtmlAttributeValue.Kind.PLAIN)
|
||||
|
||||
Reference in New Issue
Block a user