hardhat-ignore-warnings
Version:
Hardhat plugin to ignore Solidity warnings
19 lines • 587 B
TypeScript
import 'hardhat/types/config';
import 'hardhat/types/runtime';
import type { WarningId } from './error-codes';
export declare type WarningRule = boolean | 'warn' | 'error' | 'off';
export declare type FileRules = {
[e in WarningId]?: WarningRule;
} & {
default?: WarningRule;
};
export declare type Config = Record<string, WarningRule | FileRules>;
declare module 'hardhat/types/config' {
interface HardhatUserConfig {
warnings?: WarningRule | Config;
}
interface HardhatConfig {
warnings: Config;
}
}
//# sourceMappingURL=type-extensions.d.ts.map