Skip to content

Commit

Permalink
Merge pull request #76 from kantuni/patch-7
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
ryan-haskell committed Apr 19, 2023
2 parents d26d3e8 + d0c8edf commit 7066b06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/working-with-js.md
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ toCmd options effect =

Instead of exposing the generic `SendMessageToJavaScript` value from this module, we define specific functions like `openWindowDialog` to make it easy for our code to perform side effects.

Otherwise, they might make typos with the `tag` field or get confused when encoding the JSON. Our `openWindowDialog` defines a nicer API for the rest of our code, so we expose that instead:
Otherwise, we might make typos with the `tag` field or get confused when encoding the JSON. Our `openWindowDialog` defines a nicer API for the rest of our code, so we expose that instead:

```elm {3,8-13}
port module Effect exposing
Expand Down

0 comments on commit 7066b06

Please sign in to comment.