From 00493ae5d9ff87bc75d598e9457525a3861cc917 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Tue, 30 Jun 2026 12:08:54 -0700 Subject: [PATCH] Eliminate unnecessary default export. --- src/lib/convert/index.ts | 25 +++++++------------------ 1 file changed, 7 insertions(+), 18 deletions(-) diff --git a/src/lib/convert/index.ts b/src/lib/convert/index.ts index 32f761a..8e5b6e2 100644 --- a/src/lib/convert/index.ts +++ b/src/lib/convert/index.ts @@ -1,21 +1,10 @@ //! SPDX-FileCopyrightText: 2025 Chris Duncan //! SPDX-License-Identifier: GPL-3.0-or-later -import { base32 } from './base32' -import { bin } from './bin' -import { bytes } from './bytes' -import { dec } from './dec' -import { hex } from './hex' -import { obj } from './obj' -import { utf8 } from './utf8' - -export { base32, bin, bytes, dec, hex, obj, utf8 } -export default ` - const base32 = ${base32} - const bin = ${bin} - const bytes = ${bytes} - const dec = ${dec} - const hex = ${hex} - const obj = ${obj} - const utf8 = ${utf8} -` +export { base32 } from './base32' +export { bin } from './bin' +export { bytes } from './bytes' +export { dec } from './dec' +export { hex } from './hex' +export { obj } from './obj' +export { utf8 } from './utf8' -- 2.52.0