From 1bfdf4336678d6c43f1aaa1ca88a280031b854cb Mon Sep 17 00:00:00 2001 From: shubhadip Date: Sun, 30 Jan 2022 19:08:09 +0530 Subject: [PATCH] fix: interface for locale --- src/components/datepicker/locale/index.ts | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/components/datepicker/locale/index.ts b/src/components/datepicker/locale/index.ts index f14f648..af9cc33 100644 --- a/src/components/datepicker/locale/index.ts +++ b/src/components/datepicker/locale/index.ts @@ -240,7 +240,7 @@ const nl = (): ILocale => { }; }; -const pt = (): any => { +const pt = (): ILocale => { const langName = 'Português'; const monthFullName = [ 'Janeiro', @@ -258,7 +258,15 @@ const pt = (): any => { ]; const shortName = ['Jan', 'Fev', 'Mar', 'Abr', 'Mai', 'Jun', 'Jul', 'Ago', 'Set', 'Out', 'Nov', 'Dez']; const days = ['Dom', 'Seg', 'Ter', 'Qua', 'Qui', 'Sex', 'Sab']; - const daysNames = ['Domingo', 'Segunda-Feira', 'Terça-Feira', 'Quarta-Feira', 'Quinta-Feira', 'Sexta-Feira', 'Sábado']; + const daysNames = [ + 'Domingo', + 'Segunda-Feira', + 'Terça-Feira', + 'Quarta-Feira', + 'Quinta-Feira', + 'Sexta-Feira', + 'Sábado', + ]; const rtl = false; const ymd = false; const yearSuffix = '';