From e4a9efd750dbeab67a03a6032a6613fc1dc40ff7 Mon Sep 17 00:00:00 2001 From: Edward Faulkner Date: Tue, 17 Dec 2024 12:04:38 -0500 Subject: [PATCH] fix missing type --- addon/types/index.d.ts | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/addon/types/index.d.ts b/addon/types/index.d.ts index f4003444..c40da7a5 100644 --- a/addon/types/index.d.ts +++ b/addon/types/index.d.ts @@ -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, @@ -276,10 +273,10 @@ declare global { interface EachFunction { ( - name: string, - dataset: T[], - callback: (this: TC, assert: Assert, data: T) => void | Promise - ): void; - } + name: string, + dataset: T[], + callback: (this: TC, assert: Assert, data: T) => void | Promise + ): void; + } } }