TypeScript/tests/cases/compiler/unusedTypeParametersWithUnderscore.ts
2018-01-25 16:18:35 -08:00

14 lines
173 B
TypeScript

//@noUnusedParameters:true
function f<_T, U>() { }
type T<_T, U> = { };
interface I<_T, U> { };
class C<_T, U> {
public m<_V, W>() { }
};
let l = <_T, U>() => { };