TypeScript/tests/cases/fourslash/refactorConvertImportForTriggerReason2.ts

9 lines
318 B
TypeScript
Raw Normal View History

2020-05-29 20:11:33 +02:00
/// <reference path='fourslash.ts' />
2020-06-03 04:06:12 +02:00
////import d, * as /*a*/n/*b*/ from "m";
2020-05-29 20:11:33 +02:00
2020-06-03 04:06:12 +02:00
// Only offer refactor for sub 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");