Skip to content

Commit

Permalink
JsxStaticMacro: let haxe type the generated field
Browse files Browse the repository at this point in the history
  • Loading branch information
kLabz committed Aug 27, 2018
1 parent 0b00a25 commit 7873c89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/react/jsx/JsxStaticMacro.hx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class JsxStaticMacro
fields.push({
access: [APublic, AStatic],
name: FIELD_NAME,
kind: FVar(macro :react.React.CreateElementType, macro $i{proxyName}),
kind: FVar(null, macro $i{proxyName}),
doc: null,
meta: null,
pos: inClass.pos
Expand Down

0 comments on commit 7873c89

Please sign in to comment.