We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 572a439 commit 89c0986Copy full SHA for 89c0986
src/configurations/javascript/plugins/command/index.ts
@@ -1,4 +1,5 @@
1
import command from 'eslint-plugin-command/config';
2
+import type { FlatConfig } from '#types';
3
4
// @see https://eslint-plugin-command.antfu.me
-export default command();
5
+export default command() as FlatConfig;
src/index.ts
@@ -67,7 +67,7 @@ type DefineIgnoreOptions = {
67
* @returns Flat list of configurations.
68
*/
69
export const combine = (...configurations: FlatConfig[]) => {
70
- return disableAutofix(configurations.flat(Infinity));
+ return disableAutofix(configurations.flat(Infinity)) as FlatConfig[];
71
};
72
73
/**
0 commit comments