We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee864be commit 132b6f3Copy full SHA for 132b6f3
src/block-parsers.ts
@@ -88,7 +88,7 @@ export const _headingToPropertyBlock = (heading: HeadingContent): PropertyDocume
88
return {
89
name: propertyString,
90
description: parsedDescription,
91
- required: /\(optional\)/i.test(parsedDescription),
+ required: !/\(optional\)/i.test(parsedDescription),
92
...parsedReturnType!,
93
};
94
0 commit comments