Skip to content

Commit 53a0f23

Browse files
Remove 'name' property which was invalid.
1 parent 0fd587a commit 53a0f23

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/harness/fourslash.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1515,7 +1515,9 @@ Actual: ${stringify(fullActual)}`);
15151515
"argumentCount",
15161516
];
15171517
for (const key in options) {
1518-
ts.Debug.assert(ts.contains(allKeys, key));
1518+
if (!ts.contains(allKeys, key)) {
1519+
ts.Debug.fail("Unexpected key " + key);
1520+
}
15191521
}
15201522
}
15211523

tests/cases/fourslash/fourslash.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,6 @@ declare namespace FourSlashInterface {
553553
overloadsCount?: number;
554554
docComment?: string;
555555
text?: string;
556-
name?: string;
557556
parameterName?: string;
558557
parameterSpan?: string;
559558
parameterDocComment?: string;

0 commit comments

Comments
 (0)