diff --git a/index.d.ts b/index.d.ts index 22946c8..8fe28e6 100644 --- a/index.d.ts +++ b/index.d.ts @@ -3,7 +3,7 @@ export type BoundTemplateFunction = TemplateFunc export type WiredTemplateFunction = TemplateFunction; export declare class Component { - static for(context: object, identity?: any): Component; + static for(this: new() => TComponent, context: object, identity?: any): TComponent; handleEvent(e: Event): void; html: WiredTemplateFunction; svg: WiredTemplateFunction;