6 lines
115 B
TypeScript
6 lines
115 B
TypeScript
|
//@target: ES6
|
||
|
function method<T>(iterable: Iterable<T>): T {
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
var res: string = method("test");
|