Skip to content

Commit

Permalink
fix missing type
Browse files Browse the repository at this point in the history
  • Loading branch information
ef4 committed Dec 17, 2024
1 parent 634761b commit e4a9efd
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions addon/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,17 +111,14 @@ interface QUnitStartOptions {
*/
setupEmberTesting?: boolean | undefined;

/**
* If `false` validation of `Ember.onerror` will be disabled.
*/
setupEmberOnerrorValidation?: boolean | undefined;

/**
* If `false` test isolation validation will be disabled.
*/
setupTestIsolationValidation?: boolean | undefined;
}

export function setupEmberOnerrorValidation(): void;

export function start(options?: QUnitStartOptions): void;

// SAFETY: all of the `TC extends TestContext` generics below are just wildly,
Expand Down Expand Up @@ -276,10 +273,10 @@ declare global {

interface EachFunction {
<TC extends TestContext, T>(
name: string,
dataset: T[],
callback: (this: TC, assert: Assert, data: T) => void | Promise<unknown>
): void;
}
name: string,
dataset: T[],
callback: (this: TC, assert: Assert, data: T) => void | Promise<unknown>
): void;
}
}
}

0 comments on commit e4a9efd

Please sign in to comment.