diff --git a/types/jest/index.d.ts b/types/jest/index.d.ts index d434b5e198..6fb82e76b2 100644 --- a/types/jest/index.d.ts +++ b/types/jest/index.d.ts @@ -981,7 +981,7 @@ declare function pending(reason?: string): void; /** * Fails a test when called within one. */ -declare function fail(error?: any): void; +declare function fail(error?: any): never; declare namespace jasmine { let DEFAULT_TIMEOUT_INTERVAL: number; function clock(): Clock;