fix #33727: make ImplementationCallback more lax

This commit is contained in:
Carsten Klein
2019-03-16 14:38:33 +01:00
parent e51e5044b8
commit 3f1d1f4d8e
+1 -1
View File
@@ -15,7 +15,7 @@
// TypeScript Version: 2.8
// For ddescribe / iit use : https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/karma-jasmine/karma-jasmine.d.ts
type ImplementationCallback = (() => PromiseLike<any>) | ((done: DoneFn) => void);
type ImplementationCallback = (() => PromiseLike<any>) | (() => void) | ((done: DoneFn) => void);
/**
* Create a group of specs (often called a suite).