diff --git a/package.json b/package.json index 67d8248..1ac1200 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "email": "bartlomiej@krakowski.dev" }, "main": "dist/index.js", - "version": "1.0.5", + "version": "1.0.6", "type": "module", "scripts": { "dev": "vite", diff --git a/src/index.d.ts b/src/index.d.ts index 697d770..9a20522 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -1,8 +1,12 @@ import { WeekInfo } from "./types" -declare namespace Intl { - interface Locale { - getWeekInfo: () => WeekInfo - weekInfo?: WeekInfo +declare global { + namespace Intl { + interface Locale { + getWeekInfo(): WeekInfo; + weekInfo?: WeekInfo; + } } -} \ No newline at end of file +} + +export {}; \ No newline at end of file