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

14 lines
149 B
TypeScript

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