Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
erikyo committed Jan 22, 2024
1 parent de670c1 commit ab9e83d
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions src/getAll.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
import { CountryData, CountryDataExtended, CountryDataFields, ISO3LangCode, ISO3Language, IsoCode, IsoCodeFormat, ISOCountryCode, IsoFormat, ISOLangCode, IsoType, LanguageData, LanguageDataFields } from './types'
import {
CountryData,
CountryDataExtended,
CountryDataFields,
ISO3LangCode,
ISO3Language,
IsoCode,
IsoCodeFormat,
ISOCountryCode,
IsoFormat,
ISOLangCode,
IsoType,
LanguageData,
LanguageDataFields,
} from './types'

import { countriesIso } from './data/countries-iso'
import { formatIso } from './formatIso'
Expand Down Expand Up @@ -117,7 +131,7 @@ export function getAll(
if (
typeof LangIso3[iso as ISO3LangCode]?.name === 'object'
) {
(
;(
LangIso3[iso as ISO3LangCode]?.name as string[]
).forEach((name) => {
newHierarchy.push(name ?? iso)
Expand Down

0 comments on commit ab9e83d

Please sign in to comment.