We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 774e877 commit 6a96132Copy full SHA for 6a96132
doc/interoperability/export-to-javascript.md
@@ -182,7 +182,7 @@ followed by the JavaScript export name.
182
183
While an `@JSExport`ed method inside an `@JSExportTopLevel` object allows JavaScript code to call a "static" method,
184
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
+`@JSExportTopLevel` can also be used directly on a method of a top-level
186
object, which exports the method as a truly top-level function:
187
188
{% highlight scala %}
0 commit comments