mirror of
https://github.com/luxfi/eoa-contracts.git
synced 2026-10-30 16:58:32 +00:00
16 lines
329 B
TypeScript
16 lines
329 B
TypeScript
declare module "truffle" {
|
|
import * as truffle from "truffle-contract";
|
|
|
|
interface ArtifactsGlobal {
|
|
require<A>(name: string): truffle.TruffleContract<A>;
|
|
}
|
|
|
|
global {
|
|
function contract(
|
|
name: string,
|
|
callback: (accounts: Array<string>) => void
|
|
): void;
|
|
const artifacts: ArtifactsGlobal;
|
|
}
|
|
}
|