File tree 4 files changed +4
-4
lines changed
4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ let stringifyDetail ?(indentation = 0) (detail : docItemDetail) =
118
118
Some (stringifyDocstrings constructorDoc.docstrings) );
119
119
( " signature" ,
120
120
Some (wrapInQuotes constructorDoc.signature) );
121
- ( " items " ,
121
+ ( " payload " ,
122
122
match constructorDoc.items with
123
123
| None -> None
124
124
| Some constructorPayload ->
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ extracting docs for src/DocExtractionRes.res
137
137
"name": "SomeStuff",
138
138
"docstrings": ["This has inline records..."],
139
139
"signature": "SomeStuff({offline: bool, online?: bool})",
140
- "items ": {
140
+ "payload ": {
141
141
"kind": "inlineRecord",
142
142
"fields": [{
143
143
"name": "offline",
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ type constructor = {
14
14
docstrings : array <string >,
15
15
signature : string ,
16
16
deprecated ?: string ,
17
- constructorPayload ?: constructorPayload ,
17
+ payload ?: constructorPayload ,
18
18
}
19
19
20
20
@tag ("kind" )
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ type constructor = {
14
14
docstrings: array<string>,
15
15
signature: string,
16
16
deprecated?: string,
17
- constructorPayload ?: constructorPayload,
17
+ payload ?: constructorPayload,
18
18
}
19
19
@tag("kind")
20
20
type detail =
You can’t perform that action at this time.
0 commit comments