* Consider underscore for type parameters in unused-local errors. * Addressed review comments.
10 lines
116 B
TypeScript
10 lines
116 B
TypeScript
//@noUnusedLocals:true
|
|
|
|
function f<_T, U>() { }
|
|
|
|
type T<_T, U> = { };
|
|
|
|
interface I<_T, U> { };
|
|
|
|
class C<_T, U> { };
|