Skip to content

Commit

Permalink
make unused transition_out parameters optional (#5587)
Browse files Browse the repository at this point in the history
  • Loading branch information
pushkine authored Nov 24, 2020
1 parent 9331398 commit 94b985e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/internal/transitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export function transition_in(block, local?: 0 | 1) {
}
}

export function transition_out(block, local: 0 | 1, detach: 0 | 1, callback) {
export function transition_out(block, local: 0 | 1, detach?: 0 | 1, callback?) {
if (block && block.o) {
if (outroing.has(block)) return;
outroing.add(block);
Expand Down

0 comments on commit 94b985e

Please sign in to comment.