Skip to content

Commit 6ddba8d

Browse files
committed
rename
1 parent 719f8a2 commit 6ddba8d

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

analysis/src/DocExtraction.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ let stringifyDetail ?(indentation = 0) (detail : docItemDetail) =
118118
Some (stringifyDocstrings constructorDoc.docstrings) );
119119
( "signature",
120120
Some (wrapInQuotes constructorDoc.signature) );
121-
( "items",
121+
( "payload",
122122
match constructorDoc.items with
123123
| None -> None
124124
| Some constructorPayload ->

analysis/tests/src/expected/DocExtractionRes.res.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ extracting docs for src/DocExtractionRes.res
130130
"name": "SomeStuff",
131131
"docstrings": ["This has inline records..."],
132132
"signature": "SomeStuff({offline: bool, online?: bool})",
133-
"items": {
133+
"payload": {
134134
"kind": "inlineRecord",
135135
"fields": [{
136136
"name": "offline",

tools/src/Tools_Docgen.res

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ type constructor = {
1414
docstrings: array<string>,
1515
signature: string,
1616
deprecated?: string,
17-
constructorPayload?: constructorPayload,
17+
payload?: constructorPayload,
1818
}
1919

2020
@tag("kind")

tools/src/Tools_Docgen.resi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ type constructor = {
1414
docstrings: array<string>,
1515
signature: string,
1616
deprecated?: string,
17-
constructorPayload?: constructorPayload,
17+
payload?: constructorPayload,
1818
}
1919
@tag("kind")
2020
type detail =

0 commit comments

Comments
 (0)