mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-18 07:29:16 -05:00
arrow function refactor test
This commit is contained in:
@@ -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");
|
||||
Reference in New Issue
Block a user