TypeScript/tests/cases/compiler/unusedTypeParametersNotCheckedByNoUnusedLocals.ts

14 lines
145 B
TypeScript
Raw Normal View History

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