From ced6d87490f17edbbd0024bb2da083a0f15d57f2 Mon Sep 17 00:00:00 2001 From: zs-zs Date: Thu, 6 Apr 2017 11:19:42 +0200 Subject: [PATCH] Remove dead Flow types --- index.js.flow | 41 ++--------------------------------------- 1 file changed, 2 insertions(+), 39 deletions(-) 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