Skip to content

Commit

Permalink
Add VNode.constructor to src/internal.d.ts (#1810)
Browse files Browse the repository at this point in the history
  • Loading branch information
38elements authored and ForsakenHarmony committed Aug 7, 2019
1 parent 7b50b23 commit 25b15fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/internal.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ export interface VNode<P = {}> extends preact.VNode<P> {
*/
_lastDomChild: PreactElement | Text | null;
_component: Component | null;
constructor: undefined;
}

export interface Component<P = {}, S = {}> extends preact.Component<P, S> {
Expand Down

0 comments on commit 25b15fb

Please sign in to comment.