From 29cd4d2d0f7523a6dea3de0440e482edd19ea2b7 Mon Sep 17 00:00:00 2001 From: zhangyouxin Date: Mon, 9 Oct 2023 00:31:23 +0800 Subject: [PATCH] chore: remove unused type --- packages/toolkit/tests/normailizers.js | 4 ++-- packages/toolkit/types/index.d.ts | 11 ----------- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/packages/toolkit/tests/normailizers.js b/packages/toolkit/tests/normailizers.js index c23c5e87b..3dfccea72 100644 --- a/packages/toolkit/tests/normailizers.js +++ b/packages/toolkit/tests/normailizers.js @@ -3,8 +3,8 @@ const { normalizers } = require("../lib"); test("correct outPoint should pass validation", (t) => { normalizers.NormalizeOutPoint({ - txHash: `0x${'00'.repeat(32)}`, - index: '0x1', + txHash: `0x${"00".repeat(32)}`, + index: "0x1", }); t.pass(); }); diff --git a/packages/toolkit/types/index.d.ts b/packages/toolkit/types/index.d.ts index fbafb8bef..a359b56f5 100644 --- a/packages/toolkit/types/index.d.ts +++ b/packages/toolkit/types/index.d.ts @@ -1,5 +1,3 @@ -import JSBI from "jsbi"; - export * as validators from "./validators"; /** @@ -17,15 +15,6 @@ export class Reader { serializeJson(): string; } -/** - * @deprecated please follow the {@link https://lumos-website.vercel.app/migrations/migrate-to-v0.19 migration-guide} - */ -export function HexStringToBigInt(hexString: string): JSBI; -/** - * @deprecated please follow the {@link https://lumos-website.vercel.app/migrations/migrate-to-v0.19 migration-guide} - */ -export function BigIntToHexString(i: JSBI): string; - /** * @deprecated please follow the {@link https://lumos-website.vercel.app/migrations/migrate-to-v0.19 migration-guide} */