From 4f1f6c0552eece03ce983ac984c71c8f5b524aef Mon Sep 17 00:00:00 2001 From: Dimitri Benin Date: Mon, 24 Dec 2018 23:16:42 +0100 Subject: [PATCH] [base-x] fix dependent package tests --- types/bs58/index.d.ts | 2 -- types/bs58/tsconfig.json | 7 ++++++- 2 files changed, 6 insertions(+), 3 deletions(-) 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 +}