From b0c17f3349edbe5e055e3d9b0fbc5d8c14db8a26 Mon Sep 17 00:00:00 2001 From: acheron Date: Sat, 26 Oct 2024 01:17:32 +0200 Subject: [PATCH] ts: Remove unused imports --- ts/packages/anchor/src/program/namespace/simulate.ts | 4 +--- ts/packages/anchor/src/program/namespace/transaction.ts | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/ts/packages/anchor/src/program/namespace/simulate.ts b/ts/packages/anchor/src/program/namespace/simulate.ts index 3d0c7ee508..a5a7193c8d 100644 --- a/ts/packages/anchor/src/program/namespace/simulate.ts +++ b/ts/packages/anchor/src/program/namespace/simulate.ts @@ -5,12 +5,10 @@ import { splitArgsAndCtx } from "../context.js"; import { TransactionFn } from "./transaction.js"; import { EventParser, Event } from "../event.js"; import { Coder } from "../../coder/index.js"; -import { Idl, IdlEvent, IdlTypeDef } from "../../idl.js"; +import { Idl } from "../../idl.js"; import { translateError } from "../../error.js"; import { - AllEvents, AllInstructions, - IdlTypes, InstructionContextFn, MakeInstructionsNamespace, } from "./types"; diff --git a/ts/packages/anchor/src/program/namespace/transaction.ts b/ts/packages/anchor/src/program/namespace/transaction.ts index 27ee0881e6..183e87c310 100644 --- a/ts/packages/anchor/src/program/namespace/transaction.ts +++ b/ts/packages/anchor/src/program/namespace/transaction.ts @@ -1,5 +1,5 @@ import { Transaction } from "@solana/web3.js"; -import { Idl, IdlInstruction } from "../../idl.js"; +import { Idl } from "../../idl.js"; import { splitArgsAndCtx } from "../context.js"; import { InstructionFn } from "./instruction.js"; import {