mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-17 01:49:57 -05:00
Merge pull request #32077 from andrewbranch/bug/31114
Fix incorrect noImplicitAny error on contextual union function signature
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
// @noImplicitAny: true
|
||||
|
||||
// #31114
|
||||
declare function f<T>(value: T | number): void;
|
||||
f((a: any) => "")
|
||||
Reference in New Issue
Block a user