Skip to content

Commit 69a705d

Browse files
Merge pull request #756 from tsnobip/remove_helpers
remove docs about @obj and @deriving jsConverter/abstract
2 parents 41012b6 + 96e9408 commit 69a705d

File tree

3 files changed

+6
-408
lines changed

3 files changed

+6
-408
lines changed

misc_docs/syntax/decorator_obj.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ summary: "This is the `@obj` decorator."
66
category: "decorators"
77
---
88

9+
10+
> Deprecated since compiler version 11.0. It was mainly used to bind to JS param objects with many optional fields, [records with optional fields](https://rescript-lang.org/docs/manual/latest/record#optional-record-fields) are now natively supported.
11+
912
The `@obj` decorator is used to create functions that return JavaScript objects
1013
with properties that match the function's parameter labels.
1114

@@ -30,4 +33,4 @@ var helloAction = {
3033

3134
### References
3235

33-
* [Convert External into JS Object Creation Function](/docs/manual/latest/generate-converters-accessors#convert-external-into-js-object-creation-function)
36+
* [Convert External into JS Object Creation Function](/docs/manual/v10.0.0/generate-converters-accessors#convert-external-into-js-object-creation-function)

0 commit comments

Comments
 (0)