mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
feat(projects): 1.0 beta
This commit is contained in:
15
packages/scripts/typings/pkg.d.ts
vendored
Normal file
15
packages/scripts/typings/pkg.d.ts
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
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;
|
||||
}
|
Reference in New Issue
Block a user