Skip to content

Commit dbfcdc7

Browse files
committed
fix: es6 property deprecation
1 parent f403da3 commit dbfcdc7

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/main/kotlin/de/shyim/shopware6/index/AdminComponentIndex.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package de.shyim.shopware6.index
22

33
import com.intellij.lang.ecmascript6.psi.ES6ImportDeclaration
4-
import com.intellij.lang.ecmascript6.psi.ES6Property
54
import com.intellij.lang.javascript.JSTokenTypes
65
import com.intellij.lang.javascript.JavaScriptFileType
76
import com.intellij.lang.javascript.psi.JSCallExpression
@@ -91,7 +90,7 @@ class AdminComponentIndex : FileBasedIndexExtension<String, AdminComponent>() {
9190
}
9291
}
9392

94-
if (template is ES6Property) {
93+
if (template is JSProperty) {
9594
inputData.psiFile.children.forEach {
9695
if (it is ES6ImportDeclaration && it.importedBindings.size == 1 && it.importedBindings[0].name == "template" && it.fromClause?.referenceText != null) {
9796
templatePath =

0 commit comments

Comments
 (0)