mirror of
https://github.com/denoland/deno.git
synced 2025-02-08 15:21:26 -05:00
fix typo (#6136)
This commit is contained in:
parent
fa6f10219e
commit
e53a1b1496
1 changed files with 2 additions and 2 deletions
|
@ -71,7 +71,7 @@ browsers could not consume modules that require top-level-await.
|
||||||
|
|
||||||
In order to facilitate this, there are two functions that are in the scope of
|
In order to facilitate this, there are two functions that are in the scope of
|
||||||
the module in addition to the `System.register()` method. `__instantiate(main)`
|
the module in addition to the `System.register()` method. `__instantiate(main)`
|
||||||
will bootstrap everything synchronously and `__instantiate(main)` will do so
|
will bootstrap everything synchronously and `__instantiateAsync(main)` will do
|
||||||
asynchronously. When emitting a bundle that contains a module that requires
|
so asynchronously. When emitting a bundle that contains a module that requires
|
||||||
top-level-await, Deno will detect this and utilise
|
top-level-await, Deno will detect this and utilise
|
||||||
`await __instantiateAsync(main)` instead.
|
`await __instantiateAsync(main)` instead.
|
||||||
|
|
Loading…
Add table
Reference in a new issue