From a97e72f2192ebb07c221acd4bb39840d10ac2c49 Mon Sep 17 00:00:00 2001
From: Bartłomiej Garbiec <garbiec@bartek.me>
Date: Mon, 20 May 2024 19:36:32 +0000
Subject: [PATCH] i18n: add Polish translation (#1148)
---
index.d.ts | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/index.d.ts b/index.d.ts
index 3b3acfc..a6c594f 100644
--- a/index.d.ts
+++ b/index.d.ts
@@ -1,11 +1,12 @@
-declare module '*.scss' {
+declare module "*.scss" {
const content: string
export = content
}
// dom custom event
interface CustomEventMap {
- "nav": CustomEvent<{ url: string }>;
+ nav: CustomEvent<{ url: FullSlug }>
+ themechange: CustomEvent<{ theme: "light" | "dark" }>
}
declare const fetchData: Promise<ContentIndex>
--
Gitblit v1.10.0