Skip to content

Commit

Permalink
Merge df5d404 into 1a9d7fc
Browse files Browse the repository at this point in the history
  • Loading branch information
xiel committed Dec 10, 2019
2 parents 1a9d7fc + df5d404 commit 83d0cfd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/index.d.ts
Expand Up @@ -14,7 +14,11 @@ declare namespace preact {
type: ComponentType<P> | string;
props: P & { children: ComponentChildren };
key: Key;
ref: Ref<any> | null;
/**
* ref is not guaranteed by React.ReactElement, for compatiblity reasons
* with popular react libs we define it as optional too
*/
ref?: Ref<any> | null;
/**
* The time this `vnode` started rendering. Will only be set when
* the devtools are attached.
Expand Down

0 comments on commit 83d0cfd

Please sign in to comment.