mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-09 20:51:43 -06:00
refactor expected test output
This commit is contained in:
parent
edf0cec3dd
commit
754f4a45b6
@ -21,5 +21,15 @@ edit.applyRefactor({
|
||||
newContent: `function foo({ a, b, rest = [] }: { a: number; b: number; rest?: number[]; }) {
|
||||
return a + b;
|
||||
}
|
||||
foo({ a: /**a*/ 1, b: /**c*/ 2, rest: [/**e*/ 3, /**g*/ 4] });`
|
||||
foo(
|
||||
{
|
||||
/**a*/
|
||||
a: 1,
|
||||
/**c*/
|
||||
b: 2,
|
||||
rest: [
|
||||
/**e*/
|
||||
3,
|
||||
/**g*/
|
||||
4]});`
|
||||
});
|
||||
Loading…
x
Reference in New Issue
Block a user