Files
theme-earth/env.d.ts
Ryan Wang 03dc038eb7 feat: add i18n supports (#214)
添加界面的 i18n 支持。

/kind feature

Fixes https://github.com/halo-dev/theme-earth/issues/198
Fixes https://github.com/halo-dev/theme-earth/issues/75

```release-note
添加界面的 i18n 支持。
```
2024-11-18 03:08:03 +00:00

13 lines
221 B
TypeScript

/// <reference types="vite/client" />
import type { Alpine } from "alpinejs";
export {};
declare global {
interface Window {
Alpine: Alpine;
SearchWidget: any;
i18nResources: Record<string, string>;
}
}