From 16c4400d0eff7db541d8c12850af1bc5d254f720 Mon Sep 17 00:00:00 2001 From: Antonio Stoilkov Date: Thu, 18 Apr 2024 17:42:17 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20add=20.js=20extensions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.ts | 6 +++--- src/pSignal.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/index.ts b/index.ts index ceb0bd1..07fce3e 100644 --- a/index.ts +++ b/index.ts @@ -1,3 +1,3 @@ -export { default as pSignal } from './src/pSignal' -export { default as AbortError } from './src/AbortError' -export { default as isAbortError } from './src/isAbortError' +export { default as pSignal } from './src/pSignal.js' +export { default as AbortError } from './src/AbortError.js' +export { default as isAbortError } from './src/isAbortError.js' diff --git a/src/pSignal.ts b/src/pSignal.ts index 2eeba5e..e05b803 100644 --- a/src/pSignal.ts +++ b/src/pSignal.ts @@ -1,4 +1,4 @@ -import AbortError from './AbortError' +import AbortError from './AbortError.js' export default async function pSignal( signal: AbortSignal | undefined,