Merge pull request #33728 from coldrye-collaboration/gh-33727-ImplementationCallback

[@types/jasmine] make ImplementationCallback type more lax
This commit is contained in:
Sheetal Nandi
2019-03-18 13:07:24 -07:00
committed by GitHub
+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).