Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b6210c0

Browse files
committedJan 5, 2021
Example is now inline with explanation
1 parent 07b687b commit b6210c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎pages/docs/manual/latest/attribute.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ let customTriple = foo => foo * 3
6262
3. `@bs.val` annotates the `external` statement.
6363
4. `@bs.as("aria-label")` annotates the `ariaLabel` record field.
6464
5. `@deprecated` annotates the `customDouble` expression. This shows a warning while compiling telling consumers to not rely on this method long-term.
65-
6. `@deprecated("Outdated")` annotates the `customTriple` expression with a string to describe the reason for deprecation.
65+
6. `@deprecated("Use SomeOther.customTriple instead")` annotates the `customTriple` expression with a string to describe the reason for deprecation.
6666

6767
## Extension Point
6868

0 commit comments

Comments
 (0)
Please sign in to comment.