fix: default literal
This commit is contained in:
parent
9399de19db
commit
d2327fa6e0
|
@ -131,7 +131,7 @@ const defaultInvocation = (context, steps) => {
|
|||
type: 'invoke',
|
||||
args: args.map(([, {type}]) => {
|
||||
const {defaultLiteral} = Context.typeDescription(type, undefined);
|
||||
if (defaultLiteral) {
|
||||
if ('undefined' !== defaultLiteral) {
|
||||
return ({
|
||||
type: 'literal',
|
||||
value: defaultLiteral,
|
||||
|
|
Loading…
Reference in New Issue
Block a user