Update transitions.ts

pull/5587/head
pushkin 5 years ago committed by GitHub
parent 7c1e6a6ce7
commit 6f7146dfca
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