From 1b6821e5436506ff91fbb8287464098ef965eaef Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 11 Dec 2024 17:27:55 +0300 Subject: [PATCH] Ensure we import the individual method, NOT the whole library --- src/_lib/tzIntlTimeZoneName/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/_lib/tzIntlTimeZoneName/index.ts b/src/_lib/tzIntlTimeZoneName/index.ts index 1567064..8693998 100644 --- a/src/_lib/tzIntlTimeZoneName/index.ts +++ b/src/_lib/tzIntlTimeZoneName/index.ts @@ -1,4 +1,5 @@ -import { getDefaultOptions, type Locale } from 'date-fns' +import { getDefaultOptions } from 'date-fns/getDefaultOptions' +import type { Locale } from 'date-fns' import type { FormatOptionsWithTZ } from '../../index.js' /**