Skip to content

Commit

Permalink
Merge pull request #1230 from ngyikp/fix-flow-0-82
Browse files Browse the repository at this point in the history
Fix Flow typing for Flow v0.82
  • Loading branch information
marvinhagemeister committed Oct 4, 2018
2 parents 8b2f56a + d445fa4 commit 329d7c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/preact.js.flow
Expand Up @@ -2,7 +2,7 @@

import { createElement, cloneElement, Component, type Node } from 'react';

declare var h: createElement;
declare var h: typeof createElement;

declare function render(vnode: Node, parent: Element, toReplace?: Element): Element;

Expand Down

0 comments on commit 329d7c1

Please sign in to comment.