TypeScript/tests/cases/fourslash/unusedParameterInFunction1AddUnderscore.ts

11 lines
238 B
TypeScript
Raw Normal View History

2017-06-09 04:00:08 +02:00
/// <reference path='fourslash.ts' />
// @noUnusedParameters: true
////function greeter(x) {}
2017-06-09 04:00:08 +02:00
verify.codeFix({
description: "Prefix 'x' with an underscore",
index: 1,
newFileContent: "function greeter(_x) {}",
});