Project Init

This commit is contained in:
Muluhabt
2026-05-29 15:23:46 +03:00
commit 2fbc557aac
67387 changed files with 6063341 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
import { Dayjs } from 'dayjs';
import { DateStringValue, DateTimeStringValue } from '../../types';
type ExactOptionalReturn<T, MainType> = T extends undefined ? undefined : T extends null ? null : MainType;
export declare function toDateString<T extends string | number | Date | Dayjs | undefined | null>(value: T): ExactOptionalReturn<T, DateStringValue>;
export declare function toDateTimeString<T extends string | number | Date | Dayjs | undefined | null>(value: T): ExactOptionalReturn<T, DateTimeStringValue>;
export {};