Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Improve formatting for Since 10.1
  • Loading branch information
ryyppy committed Feb 1, 2023
commit c30ee0a1bc8fb243afe0bbf13de7e71a5b50a089
2 changes: 1 addition & 1 deletion pages/docs/manual/latest/async-await.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import "src/Demo.mjs"

# Async / Await

***Since 10.1***
**Since 10.1**

ReScript comes with `async` / `await` support to make asynchronous, `Promise` based code easier to read and write. This feature is very similar to its JS equivalent, so if you are already familiar with JS' `async` / `await`, you will feel right at home.

Expand Down
2 changes: 1 addition & 1 deletion pages/docs/manual/latest/promise.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ canonical: "/docs/manual/latest/promise"

## `promise` type

*Since 10.1*
**Since 10.1**

In ReScript, every JS promise is represented with the globally available `promise<'a>` type. For ReScript versions < 10.1, use its original alias `Js.Promise.t<'a>` instead.

Expand Down