From 6a96132c7ade7b42df50dcd9ab65d51c69b90796 Mon Sep 17 00:00:00 2001 From: Alexander Samsig Date: Sun, 20 Jun 2021 21:11:53 +0200 Subject: [PATCH] Fix typo in export-to-javascript.md --- doc/interoperability/export-to-javascript.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/interoperability/export-to-javascript.md b/doc/interoperability/export-to-javascript.md index df6dd7ed..f8b4ff16 100644 --- a/doc/interoperability/export-to-javascript.md +++ b/doc/interoperability/export-to-javascript.md @@ -182,7 +182,7 @@ followed by the JavaScript export name. While an `@JSExport`ed method inside an `@JSExportTopLevel` object allows JavaScript code to call a "static" method, it does not feel like a top-level function from JavaScript's point of view. -`@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 object, which exports the method as a truly top-level function: {% highlight scala %}