13 lines
308 B
TypeScript
13 lines
308 B
TypeScript
|
//@noUnusedLocals:true
|
||
|
//@noUnusedParameters:true
|
||
|
|
||
|
function greeter(person: string, person2: string) {
|
||
|
var unused = 20;
|
||
|
function maker(child: string): void {
|
||
|
var unused2 = 22;
|
||
|
}
|
||
|
function maker2(child2: string): void {
|
||
|
var unused3 = 23;
|
||
|
}
|
||
|
maker2(person2);
|
||
|
}
|