2016-10-12 00:04:04 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
// @noUnusedLocals: true
|
2017-10-10 20:28:05 +02:00
|
|
|
////class greeter {
|
2016-10-12 00:04:04 +02:00
|
|
|
//// public function2() {
|
|
|
|
//// }
|
|
|
|
//// private function1() {
|
|
|
|
//// }
|
2017-10-10 20:28:05 +02:00
|
|
|
////}
|
2016-10-12 00:04:04 +02:00
|
|
|
|
2017-10-10 20:28:05 +02:00
|
|
|
verify.codeFix({
|
2020-01-18 22:28:19 +01:00
|
|
|
description: `Remove unused declaration for: 'function1'`,
|
2017-10-10 20:28:05 +02:00
|
|
|
newFileContent: `class greeter {
|
2016-10-12 00:04:04 +02:00
|
|
|
public function2() {
|
|
|
|
}
|
2017-10-10 20:28:05 +02:00
|
|
|
}`,
|
|
|
|
});
|