From dfa994a0145ebc5e5d3e7d9de4d72fe4381550e3 Mon Sep 17 00:00:00 2001 From: Starman <30315137+Starman3787@users.noreply.github.com> Date: Tue, 17 Sep 2024 11:42:32 +0100 Subject: [PATCH] Update index.js --- index.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/index.js b/index.js index 381d999..5401e1a 100644 --- a/index.js +++ b/index.js @@ -90,7 +90,7 @@ const languageTypeProxy = (language, type, noFallback) => { ); }; -const languageProxy = (language, noFallback = false) => { +export default function languageProxy(language, noFallback = false) { return new Proxy( {}, { @@ -106,8 +106,4 @@ const languageProxy = (language, noFallback = false) => { }, } ); -}; - -export default function (lang, noFallback = false) { - return languageProxy(lang, noFallback); }