mirror of
https://github.com/swc-project/swc.git
synced 2024-12-28 08:04:43 +03:00
5 lines
107 B
TypeScript
5 lines
107 B
TypeScript
//@noImplicitAny: true
|
|
declare function foo<T extends [any]>(x: T): T;
|
|
|
|
var y = foo([undefined]);
|
|
y = [""]; |