We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c32268 commit ab1e014Copy full SHA for ab1e014
1 file changed
extensions/scripts/src/scripts/scriptProperties.ts
@@ -1074,7 +1074,7 @@ export class ScriptProperties {
1074
const fullyMatched: boolean[] = [];
1075
const props = propertiesPrevious.length > 0 ? propertiesPrevious : contentType.getProperties(directOnly).values();
1076
for (const prop of props) {
1077
- if (resultType === 'undefined' || resultType === prop.type || !prop.type) {
+ if (!(resultType === 'undefined' || prop.type === undefined || resultType === prop.type)) {
1078
continue;
1079
}
1080
const name = prop.name;
0 commit comments