We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97f5db1 commit 30743acCopy full SHA for 30743ac
packages/template/__tests__/keywords/component.test.ts
@@ -9,7 +9,10 @@ class WithElement extends TestComponent<{
9
Element: HTMLElement;
10
}> {}
11
12
-expectTypeOf(emitComponent(resolve(WithElement)()).element).toExtend<HTMLDivElement>();
+// https://www.typescriptlang.org/play/?#code/JYWwDg9gTgLgBAbzgUwB5mQYxgFQJ4YDyAZnAL5zFQQhwDkaG2AtDAcnQNwBQ3jWudiQA8ACRwBZADIBRADbIQyAHYwAfAAoAlADoYEGahgqAJmMlSAIsABu8xSvXae-bPiLFz063YVLVmrr6hsbKZuLS9v5OWpxAA
13
+expectTypeOf<HTMLDivElement>().toExtend<HTMLElement>();
14
+
15
+expectTypeOf<HTMLDivElement>().toExtend<typeof emitComponent(resolve(WithElement)()).element>();
16
17
class StringComponent extends TestComponent<{
18
Args: { value: string };
0 commit comments