(ts) add missing types for injects $datetime, $date, $ulidTime

This commit is contained in:
Valentyne Stigloher 2024-09-05 23:42:42 +02:00
parent 34b70984b4
commit 91ffd2e49d

View File

@ -34,6 +34,9 @@ declare module 'vue/types/vue' {
$locales: Record<string, LocaleDescription>;
$loadScript(name: string, src: string, nonce?: string): Promise<unknown>;
$loadStylesheet(name: string, src: string): Promise<unknown>;
$datetime(timestamp: number): string;
$date(timestamp: number): string;
$ulidTime(ulid: string): number;
}
}