Skip to content

Commit

Permalink
enchance global labels key type
Browse files Browse the repository at this point in the history
  • Loading branch information
epszaw committed Jan 16, 2025
1 parent 511163d commit a34c13e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/allure-js-commons/src/sdk/reporter/types.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import type {
FixtureResult,
Label,
LabelName,
Link,
LinkType,
Parameter,
Expand Down Expand Up @@ -47,7 +48,7 @@ export type LinkConfig<TOpts extends LinkTypeOptions = LinkTypeOptions> = Partia

export type WriterDescriptor = [cls: string, ...args: readonly unknown[]] | string;

export type GlobalLabelsConfig = Record<string, string | string[]>;
export type GlobalLabelsConfig = Partial<Record<LabelName, string | string[]>> & Record<string, string | string[]>;;

export interface ReporterConfig {
readonly resultsDir?: string;
Expand Down

0 comments on commit a34c13e

Please sign in to comment.