Browse Source

ts: Remove unused imports (#3331)

acheron 11 months ago
parent
commit
fe4fcded34

+ 1 - 3
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";

+ 1 - 1
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 {