File: renameReExportDefault.ts

package info (click to toggle)
node-typescript 5.1.6%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 492,516 kB
  • sloc: javascript: 2,078,951; makefile: 6; sh: 1
file content (16 lines) | stat: -rw-r--r-- 647 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/// <reference path='fourslash.ts' />

// @Filename: /a.ts
////export { default } from "./b";
////[|export { default as [|{| "contextRangeIndex": 0 |}b|] } from "./b";|]
////export { default as bee } from "./b";
////[|import { default as [|{| "contextRangeIndex": 2 |}b|] } from "./b";|]
////import { default as bee } from "./b";
////[|import [|{| "contextRangeIndex": 4 |}b|] from "./b";|]

// @Filename: /b.ts
////[|const [|{| "contextRangeIndex": 6 |}b|] = 0;|]
////[|export default [|{| "contextRangeIndex": 8 |}b|];|]

const [r0Def, r0, r1Def, r1, r2Def, r2, r3Def, r3, r4Def, r4] = test.ranges();
verify.baselineRename([r0, r1, r2, r3, r4]);