swc/crates/swc_ecma_parser/tests/tsc/functionExpressionContextualTyping3.ts

6 lines
101 B
TypeScript

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