diff --git a/index.js.flow b/index.js.flow index 38670fc39..ebb7e90a0 100644 --- a/index.js.flow +++ b/index.js.flow @@ -84,9 +84,8 @@ type TestContext = AssertContext & { plan(count: number): void; skip: AssertContext; }; -type CallbackTestContext = TestContext & { end(): void; }; -type ContextualTestContext = TestContext & { context: any; }; -type ContextualCallbackTestContext = CallbackTestContext & { context: any; }; +type ContextualTestContext = TestContext & { context: any; }; +type ContextualCallbackTestContext = TestContext & { context: any; end(): void; }; /** * Test Implementations @@ -101,8 +100,6 @@ type TestImplementation = | TestFunction | Array>; -type Test = TestImplementation; -type CallbackTest = TestImplementation; type ContextualTest = TestImplementation; type ContextualCallbackTest = TestImplementation; @@ -111,40 +108,6 @@ type ContextualCallbackTest = TestImplementation