Skip to content
This repository was archived by the owner on Nov 6, 2024. It is now read-only.

Commit

Permalink
Fix the type signature of onChange
Browse files Browse the repository at this point in the history
  • Loading branch information
gdotdesign committed Sep 6, 2018
1 parent 6f49941 commit 8086868
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/CodeMirror.mint
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ component CodeMirror {
]

/* Handler for the change event. */
property onChange : Function(String, Void) = ((value : String) : Void => { void })
property onChange : Function(String, a) = ((value : String) : Void => { void })

/* The content to display until the editor is loaded. */
property loadingContent : Html = <></>
Expand Down

0 comments on commit 8086868

Please sign in to comment.