make unused `transition_out` parameters optional (#5587)

pull/5723/head
pushkin 4 years ago committed by GitHub
parent 9331398299
commit 94b985effb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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);

Loading…
Cancel
Save