Thanks to visit codestin.com Credit goes to github.com
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 60789d2 commit 86b0edaCopy full SHA for 86b0eda
index.d.ts
@@ -3,7 +3,7 @@ export type BoundTemplateFunction<T extends Element | ShadowRoot> = TemplateFunc
3
export type WiredTemplateFunction = TemplateFunction<any>;
4
5
export declare class Component<T = {}> {
6
- static for(context: object, identity?: any): Component;
+ static for<TComponent>(this: new() => TComponent, context: object, identity?: any): TComponent;
7
handleEvent(e: Event): void;
8
html: WiredTemplateFunction;
9
svg: WiredTemplateFunction;
0 commit comments