ts: Types fixes (#850)
This commit is contained in:
parent
39576de39c
commit
24d07aa41b
|
@ -1,6 +1,6 @@
|
|||
import { PublicKey } from "@solana/web3.js";
|
||||
import * as assert from "assert";
|
||||
import { IdlEvent, IdlEventField } from "src/idl";
|
||||
import { IdlEvent, IdlEventField } from "../idl";
|
||||
import Coder from "../coder";
|
||||
import { DecodeType } from "./namespace/types";
|
||||
import Provider from "../provider";
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { PublicKey } from "@solana/web3.js";
|
||||
import BN from "bn.js";
|
||||
import { Idl } from "src";
|
||||
import { Idl } from "../../";
|
||||
import {
|
||||
IdlField,
|
||||
IdlInstruction,
|
||||
|
|
|
@ -7,7 +7,7 @@ declare module 'buffer-layout' {
|
|||
|
||||
constructor(span: number, property?: string);
|
||||
|
||||
decode(b: Buffer, offset?: number): T;
|
||||
decode(b: Buffer | string, offset?: number): T;
|
||||
encode(src: T, b: Buffer, offset?: number): number;
|
||||
getSpan(b: Buffer, offset?: number): number;
|
||||
replicate(name: string): this;
|
||||
|
|
Loading…
Reference in New Issue