Skip to content

Commit d44580d

Browse files
committed
refactor: remove shim typing for intl
1 parent 1f96af5 commit d44580d

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

src/shared.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ export function toLocale(val: string | Intl.Locale): Intl.Locale {
6161
*/
6262
export function validateLangTag(lang: string): boolean {
6363
try {
64-
// @ts-ignore NOTE: https://github.com/microsoft/TypeScript/pull/56079
6564
Intl.getCanonicalLocales(lang)
6665
return true
6766
} catch {

src/shim.d.ts

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)