mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Update baselines temporarily
The loss of comments is not good, but should be fixed when (1) trivia-handling issues are fixed or (2) the reafactorings themselves add a workaround.
This commit is contained in:
@@ -9,8 +9,7 @@ edit.applyRefactor({
|
||||
actionName: "scope_0",
|
||||
actionDescription: "Extract to function in global scope",
|
||||
newContent:
|
||||
`// newFunction
|
||||
/*RENAME*/newFunction_1();
|
||||
`/*RENAME*/newFunction_1();
|
||||
|
||||
function newFunction_1() {
|
||||
// newFunction
|
||||
|
||||
@@ -13,8 +13,7 @@
|
||||
|
||||
verify.applicableRefactorAvailableAtMarker('1');
|
||||
verify.fileAfterApplyingRefactorAtMarker('1',
|
||||
`// Comment
|
||||
class fn {
|
||||
`class fn {
|
||||
constructor() {
|
||||
this.baz = 10;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user