Skip to content

Commit a035b56

Browse files
committed
fix: typeof this instead of just this
1 parent dbd990a commit a035b56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export class Component<T extends HTMLElement = HTMLElement> extends ElementCompo
9494
* {@link https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus Focus}
9595
* @param options
9696
*/
97-
public focus(options?: FocusOptions): this {
97+
public focus(options?: FocusOptions): typeof this {
9898
this.node.focus(options);
9999
return this;
100100
}

0 commit comments

Comments
 (0)