TypeScript/tests/cases/fourslash/extract-method22.ts
Andrew Casey 1b6e991924 Demote some extraction ranges to produce better results
Attempt to extract return expressions, rather than return statements, and
initializers, rather than variable declarations.
2017-10-24 11:13:49 -07:00

11 lines
276 B
TypeScript

/// <reference path='fourslash.ts' />
// You may not extract variable declarations with the export modifier
//// namespace NS {
//// /*start*/export var x = 10, y = 15;/*end*/
//// }
goTo.select('start', 'end')
verify.not.refactorAvailable('Extract Symbol');