forked from microsoft/TypeScript
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry-pick PR microsoft#47136 into release-4.5
Component commits: e61702c Fix extract type crash
- Loading branch information
1 parent
1bc124e
commit 7c58b10
Showing
2 changed files
with
12 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/// <reference path="fourslash.ts" /> | ||
|
||
//// import {Renderer} from ''; | ||
//// | ||
//// export class X { | ||
//// constructor(renderer: /**/[|Renderer|]) {} | ||
//// } | ||
|
||
goTo.selectRange(test.ranges()[0]); | ||
verify.refactorAvailable("Extract type", "Extract to type alias"); |