Skip to content

Commit

Permalink
chore: remove unused type
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangyouxin committed Oct 8, 2023
1 parent f30ac85 commit 29cd4d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
4 changes: 2 additions & 2 deletions packages/toolkit/tests/normailizers.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});
11 changes: 0 additions & 11 deletions packages/toolkit/types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import JSBI from "jsbi";

export * as validators from "./validators";

/**
Expand All @@ -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}
*/
Expand Down

0 comments on commit 29cd4d2

Please sign in to comment.