Skip to content

Commit 4adcb8b

Browse files
committed
Fixed some documentation typos
Signed-off-by: Diego Marquina <d@mardie.net>
1 parent 9e804d7 commit 4adcb8b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

site/docsource/OCaml-call-JS.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Users can parenthesize the interpreted variable as below:
7373
let hello_world = {j|你好,$(world)|j}
7474
--------------
7575

76-
Note the syntax of interporated variable is intentionally designed to be simple.
76+
Note the syntax of interpolated variable is intentionally designed to be simple.
7777
Its lexical convention is as below:
7878

7979
[source,bnf]
@@ -159,7 +159,7 @@ external imul : int -> int -> int =
159159
In JS library, it is quite common to use a name as namespace,
160160
for example, if the user want to write a binding to
161161
`vscode.commands.executeCommand`, assume `vscode` is a module name,
162-
the user needs needs to type `commands` properly before typing `executeCommand`, and in practice, it is rarely useful to call `vscode.commands` alone, for this reason, we introduce a convient sugar: `bs.scope`
162+
the user needs to type `commands` properly before typing `executeCommand`, and in practice, it is rarely useful to call `vscode.commands` alone, for this reason, we introduce a convient sugar: `bs.scope`
163163

164164
.Example
165165
[source,ocaml]

0 commit comments

Comments
 (0)