TypeScript/tests/cases/fourslash/moveToNewFile_rangeInvalid.ts
Andy 7271ec1240
Add 'move to new file' refactor (#23726)
* Add 'move to new file' refactor

* Code review, and support commonjs

* Compute movedSymbols completely before using, and support `export import`

* Fix assertion error: sort empty change before non-empty change

* Remove extra newline

* Add allowTextChangesInNewFiles preference

* Add the new file to 'files' in tsconfig

* Avoid parameter initializer

* Update API baselines

* Use path relative to tsconfig.json

* Code review

* Fix error where node in tsconfig file was missing a source file
2018-05-10 11:17:04 -07:00

11 lines
181 B
TypeScript

/// <reference path='fourslash.ts' />
// @Filename: /a.ts
////[|const x = 0;
////const|] y = 0;
////function f() {
//// [|function inner() {}|]
////}
verify.noMoveToNewFile();