Skip to content

Commit 7cc5ce4

Browse files
authored
tidy up (#10744)
Co-authored-by: Rich Harris <[email protected]>
1 parent e16591a commit 7cc5ce4

File tree

1 file changed

+1
-8
lines changed
  • packages/svelte/tests/runtime-legacy/samples/component-transition

1 file changed

+1
-8
lines changed

packages/svelte/tests/runtime-legacy/samples/component-transition/_config.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,18 @@ import { ok, test } from '../../test';
33

44
export default test({
55
async test({ assert, target, raf }) {
6-
const button = target.querySelector('#button');
6+
const button = /** @type {HTMLButtonElement} */ (target.querySelector('#button'));
77
const container = target.querySelector('#container');
88
ok(button);
99
ok(container);
1010

1111
// Multiple click on button
12-
// @ts-ignore
1312
button.click();
14-
// @ts-ignore
1513
button.click();
16-
// @ts-ignore
1714
button.click();
18-
// @ts-ignore
1915
button.click();
20-
// @ts-ignore
2116
button.click();
22-
// @ts-ignore
2317
button.click();
24-
// @ts-ignore
2518
button.click();
2619

2720
raf.tick(0);

0 commit comments

Comments
 (0)