TypeScript/tests/cases/fourslash/refactorConvertImportForTriggerReason1.ts

9 lines
320 B
TypeScript
Raw Normal View History

2020-05-29 20:11:33 +02:00
/// <reference path='fourslash.ts' />
////import /*a*//*b*/d, * as n from "m";
2020-05-29 20:57:19 +02:00
// Only offer refactor for empty span if explicity requested
2020-05-29 20:11:33 +02:00
goTo.select("a", "b");
verify.not.refactorAvailableForTriggerReason("implicit", "Convert import");
2020-05-29 20:57:19 +02:00
verify.refactorAvailableForTriggerReason("invoked", "Convert import");