Skip to content

Commit 87e5415

Browse files
committed
add Component constructor typedoc
1 parent 993188c commit 87e5415

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ type ElementToTagName<T extends HTMLElement> = {
2222

2323
export class Component<T extends HTMLElement = HTMLElement> extends ElementComponent<T> {
2424
/**
25+
* Create Component instance
2526
* @param element Instance or tag name
2627
*/
2728
public constructor(element: T | ElementToTagName<T>) {

0 commit comments

Comments
 (0)