Skip to content

Commit

Permalink
fix: top level bindingProperties should be optional (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
frimfram committed Sep 10, 2021
1 parent 33390ed commit b97d6fd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ export abstract class ReactStudioTemplateRenderer extends StudioTemplateRenderer
const propSignature = factory.createPropertySignature(
undefined,
propName,
undefined,
factory.createToken(SyntaxKind.QuestionToken),
factory.createTypeReferenceNode(binding.type, undefined),
);
propSignatures.push(propSignature);
Expand Down

0 comments on commit b97d6fd

Please sign in to comment.