We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc990a6 commit b1875d3Copy full SHA for b1875d3
packages/nx-plugin/src/executors/internal/types.ts
@@ -15,18 +15,13 @@ export type GeneralExecutorOnlyOptions = {
15
export type ProjectExecutorOnlyOptions = {
16
projectPrefix?: string;
17
};
18
-
+type LooseAutocomplete<T extends string> = T | (string & {});
19
/**
20
* CLI types that apply globally for all commands.
21
*/
22
-export type Command =
23
- | 'collect'
24
- | 'upload'
25
- | 'autorun'
26
- | 'print-config'
27
- | 'compare'
28
- | 'merge-diffs'
29
- | 'history';
+export type Command = LooseAutocomplete<
+ 'collect' | 'upload' | 'autorun' | 'print-config' | 'compare' | 'merge-diffs'
+>;
30
export type GlobalExecutorOptions = {
31
command?: Command;
32
bin?: string;
0 commit comments