Skip to content

Commit 94b985e

Browse files
authored
make unused transition_out parameters optional (#5587)
1 parent 9331398 commit 94b985e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/internal/transitions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export function transition_in(block, local?: 0 | 1) {
4848
}
4949
}
5050

51-
export function transition_out(block, local: 0 | 1, detach: 0 | 1, callback) {
51+
export function transition_out(block, local: 0 | 1, detach?: 0 | 1, callback?) {
5252
if (block && block.o) {
5353
if (outroing.has(block)) return;
5454
outroing.add(block);

0 commit comments

Comments
 (0)