Fix incorrect ReturnType instead of ReturnValue
This commit is contained in:
@@ -104,7 +104,7 @@ function ModelableMethodRow(props: MethodRowProps) {
|
|||||||
onChange(method, {
|
onChange(method, {
|
||||||
// If there are no arguments, we will default to "Argument[this]"
|
// If there are no arguments, we will default to "Argument[this]"
|
||||||
input: argumentsList.length === 0 ? "Argument[this]" : "Argument[0]",
|
input: argumentsList.length === 0 ? "Argument[this]" : "Argument[0]",
|
||||||
output: "ReturnType",
|
output: "ReturnValue",
|
||||||
kind: "value",
|
kind: "value",
|
||||||
...modeledMethod,
|
...modeledMethod,
|
||||||
type: e.target.value as ModeledMethodType,
|
type: e.target.value as ModeledMethodType,
|
||||||
|
|||||||
Reference in New Issue
Block a user