TypeScript/tests/cases/compiler/emptyTypeArgumentList.ts

6 lines
129 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
function foo<T>() { }
foo<>();
// https://github.com/microsoft/TypeScript/issues/33041
function noParams() {}
noParams<>();