Skip to content

Commit 30743ac

Browse files
committed
ope
1 parent 97f5db1 commit 30743ac

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/template/__tests__/keywords/component.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ class WithElement extends TestComponent<{
99
Element: HTMLElement;
1010
}> {}
1111

12-
expectTypeOf(emitComponent(resolve(WithElement)()).element).toExtend<HTMLDivElement>();
12+
// https://www.typescriptlang.org/play/?#code/JYWwDg9gTgLgBAbzgUwB5mQYxgFQJ4YDyAZnAL5zFQQhwDkaG2AtDAcnQNwBQ3jWudiQA8ACRwBZADIBRADbIQyAHYwAfAAoAlADoYEGahgqAJmMlSAIsABu8xSvXae-bPiLFz063YVLVmrr6hsbKZuLS9v5OWpxAA
13+
expectTypeOf<HTMLDivElement>().toExtend<HTMLElement>();
14+
15+
expectTypeOf<HTMLDivElement>().toExtend<typeof emitComponent(resolve(WithElement)()).element>();
1316

1417
class StringComponent extends TestComponent<{
1518
Args: { value: string };

0 commit comments

Comments
 (0)