The left-hand side of an arithmetic operation must be type 'any', 'number', 'bigint' or an enum type
before
const base = Math.ceil((sendDay - today) / (1000 * 60 * 60 * 24));
solution: .getTime() 메서드 사용
const base = Math.ceil((sendDay.getTime() - today.getTime()) / (1000 * 60 * 60 * 24));
Type 'string' is not assignable to type 'number'.ts(2322)
Number()로 감싸준다.