Skip to content

Commit

Permalink
Fix ridiculous type issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Huggins committed Jun 16, 2023
1 parent 20b1bbc commit 4f5b182
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bdd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export class BDD {
static suiteGroups = new Map<symbol, SuiteGroup<any>>();
static currentSuiteGroup?: SuiteGroup<any>;

static describe<T = unknown>(
static describe<T extends Record<string | number | symbol, any> = any>(
nameOrSuiteOrOpts: DescribeOpts<T> | TestSuite<T> | string,
nameOrFn?: string | (() => void),
func?: () => void,
Expand Down

0 comments on commit 4f5b182

Please sign in to comment.