@solidstate/hardhat-license-identifier
Version:
Prepend local Solidity source files with an SPDX License Identifier
15 lines (14 loc) • 430 B
TypeScript
import { LicenseIdentifierConfig, LicenseIdentifierUserConfig } from './types.js';
declare module 'hardhat/types/config' {
interface HardhatConfig {
licenseIdentifier: LicenseIdentifierConfig;
}
interface HardhatUserConfig {
licenseIdentifier?: LicenseIdentifierUserConfig;
}
}
declare module '@nomicfoundation/hardhat-utils/package' {
interface PackageJson {
license?: string;
}
}