Skip to content

Commit 72ad108

Browse files
committed
Improve types
1 parent f9e4c05 commit 72ad108

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

v-next/core/src/types/global-parameters.ts

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
import type { ParameterType, ParameterTypeToValueType } from "./common.js";
1+
import type {
2+
ParameterType,
3+
ParameterTypeToValueType,
4+
ParameterValue,
5+
} from "./common.js";
26

37
/**
48
* A global parameter with an associated value and a default if not provided by
@@ -25,7 +29,7 @@ export interface GlobalParameter<T extends ParameterType = ParameterType> {
2529
* Runtime Environment.
2630
*/
2731
// eslint-disable-next-line @typescript-eslint/no-empty-interface -- To be used through module augmentation
28-
export interface GlobalArguments {}
32+
export interface GlobalArguments extends Record<string, ParameterValue> {}
2933

3034
/**
3135
* An entry in the global parameters map.

0 commit comments

Comments
 (0)