Merge pull request #32077 from andrewbranch/bug/31114

Fix incorrect noImplicitAny error on contextual union function signature
This commit is contained in:
Andrew Branch
2019-07-03 10:10:10 -07:00
committed by GitHub
5 changed files with 41 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
// @noImplicitAny: true
// #31114
declare function f<T>(value: T | number): void;
f((a: any) => "")