ruoyi-plus-soybean/packages/scripts/typings/pkg.d.ts

16 lines
356 B
TypeScript
Raw Normal View History

2023-11-17 08:45:00 +08:00
declare module 'lint-staged' {
interface LintStagedOptions {
config?: Record<string, string | string[]>;
allowEmpty?: boolean;
}
type LintStagedFn = (options: LintStagedOptions) => Promise<boolean>;
interface LintStaged extends LintStagedFn {
default: LintStagedFn;
}
const lintStaged: LintStaged;
export default lintStaged;
}