mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
Renamed to FunctionLike; allowed Function
This commit is contained in:
Vendored
+3
-2
@@ -199,7 +199,7 @@ declare namespace jest {
|
||||
|
||||
type Lifecycle = (fn: ProvidesCallback, timeout?: number) => any;
|
||||
|
||||
interface IClassLike {
|
||||
interface FunctionLike {
|
||||
readonly name: string;
|
||||
}
|
||||
|
||||
@@ -224,7 +224,8 @@ declare namespace jest {
|
||||
}
|
||||
|
||||
interface Describe {
|
||||
(name: number | string | IClassLike, fn: EmptyFunction): void;
|
||||
// tslint:disable-next-line ban-types
|
||||
(name: number | string | Function | FunctionLike, fn: EmptyFunction): void;
|
||||
only: Describe;
|
||||
skip: Describe;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user