Skip to content

Commit 9f06584

Browse files
authored
[nodes7] Fix for TS 6.0 (DefinitelyTyped#74012)
1 parent 5d4cecb commit 9f06584

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

types/nodes7/nodes7-tests.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ i.dropConnection(() => {}); // $ExpectType void
5959

6060
// @ts-expect-error
6161
i.setTranslationCB();
62-
// @ts-expect-error
63-
i.setTranslationCB(() => {});
6462
i.setTranslationCB(() => ""); // $ExpectType void
6563
i.setTranslationCB(x => x); // $ExpectType void
6664

0 commit comments

Comments
 (0)