Skip to content

Commit 919fab3

Browse files
committed
fix(commands): annotate the pinned selector property lookup for tsc
1 parent c883487 commit 919fab3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/commands/__tests__/command-surface-metadata.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ test('every emitted input schema carries the aligned device-selector description
257257
).properties;
258258
if (!properties) continue;
259259
for (const [key, description] of Object.entries(expected)) {
260-
const property = properties[key];
260+
const property: { description?: string } | undefined = properties[key];
261261
if (!property) continue;
262262
assert.equal(property.description, description, `${metadata.name}.${key}`);
263263
pinned += 1;

0 commit comments

Comments
 (0)