Skip to content

Commit 64e9cb3

Browse files
committed
Fixed typo.
1 parent 97557f9 commit 64e9cb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/lib.es5.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1486,7 +1486,7 @@ type ConstructorParameters<T extends new (...args: any) => any> = T extends new
14861486
/**
14871487
* Obtain the return type of a function type
14881488
*/
1489-
type ReturnType<T extends (...args: never) => any> = T extends (...args: never) => infer R ? R : any;
1489+
type ReturnType<T extends (...args: any) => any> = T extends (...args: never) => infer R ? R : any;
14901490

14911491
/**
14921492
* Obtain the return type of a constructor function type

0 commit comments

Comments
 (0)