mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-09 02:30:15 -06:00
arrow function refactor test
This commit is contained in:
parent
f3751fbdf3
commit
96f210c1c8
@ -0,0 +1,7 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
//// const a = (a: number) => { return/*a*//*b*/ a; };
|
||||
|
||||
// an invoked refactor request for a cursor in the body should return a refactor
|
||||
goTo.select("a", "b");
|
||||
verify.refactorAvailableForTriggerReason("invoked","Add or remove braces in an arrow function", "Remove braces from arrow function");
|
||||
Loading…
x
Reference in New Issue
Block a user