File tree Expand file tree Collapse file tree 31 files changed +59
-31
lines changed
src/app/[locale]/(doc-session)/documentation/js/functions Expand file tree Collapse file tree 31 files changed +59
-31
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import { LocaleParams } from "@/types/Params";
1010
1111export default async function CnpjIsValid ( {
1212 params : { locale } ,
13- } : LocaleParams ) {
13+ } : Readonly < LocaleParams > ) {
1414 setStaticParamsLocale ( locale ) ;
1515
1616 const t = await getScopedI18n ( "DocumentationJsFunctions" ) ;
Original file line number Diff line number Diff line change @@ -8,7 +8,9 @@ import DrawerComponent from "@/components/Drawer";
88import { getScopedI18n } from "@/locales/server" ;
99import { LocaleParams } from "@/types/Params" ;
1010
11- export default async function CpfIsValid ( { params : { locale } } : LocaleParams ) {
11+ export default async function CpfIsValid ( {
12+ params : { locale } ,
13+ } : Readonly < LocaleParams > ) {
1214 setStaticParamsLocale ( locale ) ;
1315
1416 const t = await getScopedI18n ( "DocumentationJsFunctions" ) ;
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import { LocaleParams } from "@/types/Params";
1010
1111export default async function GetOnlyEmail ( {
1212 params : { locale } ,
13- } : LocaleParams ) {
13+ } : Readonly < LocaleParams > ) {
1414 setStaticParamsLocale ( locale ) ;
1515
1616 const t = await getScopedI18n ( "DocumentationJsFunctions" ) ;
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import { LocaleParams } from "@/types/Params";
1010
1111export default async function IdentifyFlagCard ( {
1212 params : { locale } ,
13- } : LocaleParams ) {
13+ } : Readonly < LocaleParams > ) {
1414 setStaticParamsLocale ( locale ) ;
1515
1616 const t = await getScopedI18n ( "DocumentationJsFunctions" ) ;
Original file line number Diff line number Diff line change @@ -8,7 +8,9 @@ import DrawerComponent from "@/components/Drawer";
88import { getScopedI18n } from "@/locales/server" ;
99import { LocaleParams } from "@/types/Params" ;
1010
11- export default async function IsAscii ( { params : { locale } } : LocaleParams ) {
11+ export default async function IsAscii ( {
12+ params : { locale } ,
13+ } : Readonly < LocaleParams > ) {
1214 setStaticParamsLocale ( locale ) ;
1315
1416 const t = await getScopedI18n ( "DocumentationJsFunctions" ) ;
Original file line number Diff line number Diff line change @@ -8,7 +8,9 @@ import DrawerComponent from "@/components/Drawer";
88import { getScopedI18n } from "@/locales/server" ;
99import { LocaleParams } from "@/types/Params" ;
1010
11- export default async function IsBase64 ( { params : { locale } } : LocaleParams ) {
11+ export default async function IsBase64 ( {
12+ params : { locale } ,
13+ } : Readonly < LocaleParams > ) {
1214 setStaticParamsLocale ( locale ) ;
1315
1416 const t = await getScopedI18n ( "DocumentationJsFunctions" ) ;
Original file line number Diff line number Diff line change @@ -8,7 +8,9 @@ import DrawerComponent from "@/components/Drawer";
88import { getScopedI18n } from "@/locales/server" ;
99import { LocaleParams } from "@/types/Params" ;
1010
11- export default async function IsCEP ( { params : { locale } } : LocaleParams ) {
11+ export default async function IsCEP ( {
12+ params : { locale } ,
13+ } : Readonly < LocaleParams > ) {
1214 setStaticParamsLocale ( locale ) ;
1315
1416 const t = await getScopedI18n ( "DocumentationJsFunctions" ) ;
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import { LocaleParams } from "@/types/Params";
1010
1111export default async function IsCreditCard ( {
1212 params : { locale } ,
13- } : LocaleParams ) {
13+ } : Readonly < LocaleParams > ) {
1414 setStaticParamsLocale ( locale ) ;
1515
1616 const t = await getScopedI18n ( "DocumentationJsFunctions" ) ;
Original file line number Diff line number Diff line change @@ -8,7 +8,9 @@ import DrawerComponent from "@/components/Drawer";
88import { getScopedI18n } from "@/locales/server" ;
99import { LocaleParams } from "@/types/Params" ;
1010
11- export default async function IsDate ( { params : { locale } } : LocaleParams ) {
11+ export default async function IsDate ( {
12+ params : { locale } ,
13+ } : Readonly < LocaleParams > ) {
1214 setStaticParamsLocale ( locale ) ;
1315
1416 const t = await getScopedI18n ( "DocumentationJsFunctions" ) ;
Original file line number Diff line number Diff line change @@ -8,7 +8,9 @@ import DrawerComponent from "@/components/Drawer";
88import { getScopedI18n } from "@/locales/server" ;
99import { LocaleParams } from "@/types/Params" ;
1010
11- export default async function IsDecimal ( { params : { locale } } : LocaleParams ) {
11+ export default async function IsDecimal ( {
12+ params : { locale } ,
13+ } : Readonly < LocaleParams > ) {
1214 setStaticParamsLocale ( locale ) ;
1315
1416 const t = await getScopedI18n ( "DocumentationJsFunctions" ) ;
You can’t perform that action at this time.
0 commit comments