We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f5453a commit 5fc1ba3Copy full SHA for 5fc1ba3
v-next/core/src/types/global-options.ts
@@ -1,4 +1,8 @@
1
-import type { ParameterType, ParameterTypeToValueType } from "./common.js";
+import type {
2
+ ParameterType,
3
+ ParameterTypeToValueType,
4
+ ParameterValue,
5
+} from "./common.js";
6
7
/**
8
* A global option with an associated value and a default if not provided by
@@ -25,7 +29,7 @@ export interface GlobalOption<T extends ParameterType = ParameterType> {
25
29
* Runtime Environment.
26
30
*/
27
31
// eslint-disable-next-line @typescript-eslint/no-empty-interface -- To be used through module augmentation
28
-export interface GlobalOptions {}
32
+export interface GlobalOptions extends Record<string, ParameterValue> {}
33
34
35
* An entry in the global options map.
0 commit comments