diff --git a/types/bs58/index.d.ts b/types/bs58/index.d.ts index 1539910e12..bb0ef823e6 100644 --- a/types/bs58/index.d.ts +++ b/types/bs58/index.d.ts @@ -3,8 +3,6 @@ // Definitions by: Ilya Mochalov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -/// - import * as BaseX from 'base-x'; declare namespace base58 { } diff --git a/types/bs58/tsconfig.json b/types/bs58/tsconfig.json index 9e0ed25701..fe7563905d 100644 --- a/types/bs58/tsconfig.json +++ b/types/bs58/tsconfig.json @@ -12,6 +12,11 @@ "typeRoots": [ "../" ], + "paths": { + "base-x": [ + "base-x/v1" + ] + }, "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true @@ -20,4 +25,4 @@ "index.d.ts", "bs58-tests.ts" ] -} \ No newline at end of file +}