Skip to content

Commit

Permalink
fix: missing type definition for tezos method
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Prohaszka <stephane.prohaszka@ledger.fr>
  • Loading branch information
sprohaszka-ledger committed Apr 29, 2024
1 parent 4a52382 commit 1d8675c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import BigNumber from "bignumber.js";
import { DEFAULT_FEE, DEFAULT_STORAGE_LIMIT, Estimate, TezosToolkit } from "@taquito/taquito";
import { DerivationType } from "@taquito/ledger-signer";
import { compressPublicKey } from "@taquito/ledger-signer/dist/types/utils";
import { compressPublicKey } from "@taquito/ledger-signer/dist/lib/utils";
import { b58cencode, prefix, Prefix, validateAddress, ValidationResult } from "@taquito/utils";
import { InvalidAddress, RecipientRequired } from "@ledgerhq/errors";
import { log } from "@ledgerhq/logs";
Expand Down
3 changes: 2 additions & 1 deletion libs/coin-modules/coin-tezos/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"module": "commonjs",
"downlevelIteration": true,
"lib": ["es2020", "dom"],
"outDir": "lib"
"outDir": "lib",
"typeRoots": ["./node_modules/@types", "./types/@taquito"]
},
"include": ["src/**/*"]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
declare module "@taquito/ledger-signer/dist/lib/utils" {
export * from "@taquito/ledger-signer/dist/types/utils";
}

0 comments on commit 1d8675c

Please sign in to comment.