lint-staged 15.4.2 → 15.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/types.d.ts +1 -3
  2. package/package.json +1 -1
package/lib/types.d.ts CHANGED
@@ -96,6 +96,4 @@ type Logger = {
96
96
  * @returns {boolean} `true` when all tasks were successful, `false` when some tasks failed with errors
97
97
  * @throws {Error} when failed to some other errors
98
98
  */
99
- type lintStaged = (options: Options, logger?: Logger) => Promise<boolean>
100
-
101
- export default lintStaged
99
+ export default function lintStaged(options: Options, logger?: Logger): Promise<boolean>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lint-staged",
3
- "version": "15.4.2",
3
+ "version": "15.4.3",
4
4
  "description": "Lint files staged by git",
5
5
  "license": "MIT",
6
6
  "repository": "https://github.com/lint-staged/lint-staged",