Skip to content

Commit d7f797b

Browse files
authored
fix internal component attributes
1 parent aa13c96 commit d7f797b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/kotlin/com/emberjs/utils/EmberUtils.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,9 @@ class EmberUtils {
404404
?: findDefaultExportClass(containingFile)
405405
?: file
406406

407+
if (cls is PsiFile && cls.name == "intellij-emberjs/internal/components-stub") {
408+
cls = f;
409+
}
407410
var jsTemplate: Any? = null;
408411
if (cls is JSElement) {
409412
val argsElem = findComponentArgsType(cls)

0 commit comments

Comments
 (0)