Skip to content

Commit 6e5d240

Browse files
authored
Merge pull request #551 from Asamsig/patch-1
Fix typo in export-to-javascript.md
2 parents 774e877 + 6a96132 commit 6e5d240

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/interoperability/export-to-javascript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ followed by the JavaScript export name.
182182

183183
While an `@JSExport`ed method inside an `@JSExportTopLevel` object allows JavaScript code to call a "static" method,
184184
it does not feel like a top-level function from JavaScript's point of view.
185-
`@JSExportTopLevel` can also be used directory on a method of a top-level
185+
`@JSExportTopLevel` can also be used directly on a method of a top-level
186186
object, which exports the method as a truly top-level function:
187187

188188
{% highlight scala %}

0 commit comments

Comments
 (0)