2016-11-02 00:31:23 +01:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
// @noUnusedLocals: true
|
2017-10-10 20:28:05 +02:00
|
|
|
////namespace greeter {
|
|
|
|
//// type hw = "Hello" |"world";
|
|
|
|
//// export type nw = "No" | "Way";
|
|
|
|
////}
|
2016-11-02 00:31:23 +01:00
|
|
|
|
2017-10-10 20:28:05 +02:00
|
|
|
verify.codeFix({
|
2020-01-18 22:28:19 +01:00
|
|
|
description: "Remove unused declaration for: 'hw'",
|
2017-10-10 20:28:05 +02:00
|
|
|
newFileContent: `namespace greeter {
|
2016-11-02 00:31:23 +01:00
|
|
|
export type nw = "No" | "Way";
|
2017-10-10 20:28:05 +02:00
|
|
|
}`,
|
|
|
|
});
|