@solidstate/hardhat-license-identifier
Version:
Prepend local Solidity source files with an SPDX License Identifier
21 lines (17 loc) • 414 B
text/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;
}
}