ts: Types fixes (#850)

This commit is contained in:
NorbertBodziony 2021-10-09 23:14:14 +02:00 committed by GitHub
parent 39576de39c
commit 24d07aa41b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -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";

View File

@ -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,

View File

@ -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;