hardhat-forta
Version:
Forta Agent Hardhat Plugin
17 lines (12 loc) • 488 B
text/typescript
// If your plugin extends types from another plugin, you should import the plugin here.
// To extend one of Hardhat's types, you need to import the module where it has been defined, and redeclare it.
import "hardhat/types/config";
import { FortaAgentConfig, FortaAgentUserConfig } from "./types";
declare module "hardhat/types/config" {
export interface HardhatUserConfig {
forta?: FortaAgentUserConfig;
}
export interface HardhatConfig {
forta: FortaAgentConfig;
}
}