]> git.codecow.com Git - libnemo.git/commitdiff
Eliminate unnecessary default export.
authorChris Duncan <chris@codecow.com>
Tue, 30 Jun 2026 19:08:54 +0000 (12:08 -0700)
committerChris Duncan <chris@codecow.com>
Tue, 30 Jun 2026 19:08:54 +0000 (12:08 -0700)
src/lib/convert/index.ts

index 32f761a66eed6a050ff22bb44794e258e10d8753..8e5b6e22bdbb2dd049606fe6f321244a33af728d 100644 (file)
@@ -1,21 +1,10 @@
 //! SPDX-FileCopyrightText: 2025 Chris Duncan <chris@codecow.com>\r
 //! SPDX-License-Identifier: GPL-3.0-or-later\r
 \r
-import { base32 } from './base32'\r
-import { bin } from './bin'\r
-import { bytes } from './bytes'\r
-import { dec } from './dec'\r
-import { hex } from './hex'\r
-import { obj } from './obj'\r
-import { utf8 } from './utf8'\r
-\r
-export { base32, bin, bytes, dec, hex, obj, utf8 }\r
-export default `\r
-       const base32 = ${base32}\r
-       const bin = ${bin}\r
-       const bytes = ${bytes}\r
-       const dec = ${dec}\r
-       const hex = ${hex}\r
-       const obj = ${obj}\r
-       const utf8 = ${utf8}\r
-`\r
+export { base32 } from './base32'\r
+export { bin } from './bin'\r
+export { bytes } from './bytes'\r
+export { dec } from './dec'\r
+export { hex } from './hex'\r
+export { obj } from './obj'\r
+export { utf8 } from './utf8'\r