Skip to content

Commit

Permalink
utils/tween.ts: correct a function return type
Browse files Browse the repository at this point in the history
  • Loading branch information
pkgw committed Jun 9, 2023
1 parent 8357e41 commit 3c7d8d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/tween.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export function tweenLayerOutToDelete(layer: ImageSetLayer, duration: number): F
return tweenLayerOut(layer, tweenOptions);
}

export async function tweenToBackgroundForMove(bgImageset: Imageset, moveTime: number, minMoveTime = MIN_MOVE_TIME): Function {
export async function tweenToBackgroundForMove(bgImageset: Imageset, moveTime: number, minMoveTime = MIN_MOVE_TIME): Promise<Function> {
const store = getEngineStore();

const layer = await store.addImageSetLayer({
Expand Down

0 comments on commit 3c7d8d2

Please sign in to comment.