- Created common workspace - Create Sparebank1Api workspace - Moved logger to common - Moved SB1 types to types.ts - Logger will avoid duplicating first line when capturing console.logs - Updated imports and added type keyword - Added nonUniqueId type
4 lines
116 B
TypeScript
4 lines
116 B
TypeScript
import { type Dayjs } from "dayjs"
|
|
|
|
export const toISODateString = (day: Dayjs): string => day.format("YYYY-MM-DD")
|