From 8e2868f8a7b456a3716fe45d35a581c34f27cc18 Mon Sep 17 00:00:00 2001 From: Irakli Gozalishvili Date: Mon, 13 Jun 2022 08:42:08 -0700 Subject: [PATCH] try and trick standard into compliance --- src/bases/interface.ts | 1 - src/interface.js | 8 +++++++- src/interface.ts | 5 ----- 3 files changed, 7 insertions(+), 7 deletions(-) delete mode 100644 src/interface.ts diff --git a/src/bases/interface.ts b/src/bases/interface.ts index dd4374e2..366d4466 100644 --- a/src/bases/interface.ts +++ b/src/bases/interface.ts @@ -86,7 +86,6 @@ export interface MultibaseCodec { decoder: MultibaseDecoder } - export interface UnibaseDecoder extends MultibaseDecoder { // Reserve this property so it can be used to derive type. readonly decoders?: null diff --git a/src/interface.js b/src/interface.js index d9b3f4f7..36e0fcd7 100644 --- a/src/interface.js +++ b/src/interface.js @@ -1 +1,7 @@ -// this is dummy module overlayed by interface.ts +export * from './bases/interface.js' +export * from './hashes/interface.js' +export * from './codecs/interface.js' +export * from './cid/interface.js' +export * from './block/interface.js' + +export const __interfaces = undefined diff --git a/src/interface.ts b/src/interface.ts deleted file mode 100644 index 5c0d6577..00000000 --- a/src/interface.ts +++ /dev/null @@ -1,5 +0,0 @@ -export * from './bases/interface.js' -export * from './hashes/interface.js' -export * from './codecs/interface.js' -export * from './cid/interface.js' -export * from './block/interface.js'