Add missing return type

This commit is contained in:
rijkvanzanten
2021-06-14 09:56:42 -04:00
parent 051fbfcebd
commit 28847faee6

View File

@@ -24,7 +24,7 @@ import { clone } from 'lodash';
*
* The conversion is lifted straight from `ms`.
*/
export function adjustDate(date: Date, adjustment: string) {
export function adjustDate(date: Date, adjustment: string): Date {
date = clone(date);
const subtract = adjustment.startsWith('-');