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

14 lines
145 B
TypeScript

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