Remove unused code

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak
2024-04-28 14:58:09 +02:00
parent 0308aec65b
commit b9e5358cd7
20 changed files with 2 additions and 553 deletions

View File

@@ -1,19 +0,0 @@
/** List of supported E164 country codes. */
const COUNTRY_CODES = [
'1',
'351',
'44',
'55',
] as const;
/** Supported E164 country code. */
type CountryCode = typeof COUNTRY_CODES[number];
/** Check whether a given value is a country code. */
const isCountryCode = (value: any): value is CountryCode => COUNTRY_CODES.includes(value);
export {
COUNTRY_CODES,
CountryCode,
isCountryCode,
};