File: jsDeclarationsMultipleExportFromMerge.js

package info (click to toggle)
node-typescript 5.0.4%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 459,116 kB
  • sloc: javascript: 1,972,754; makefile: 6; sh: 1
file content (74 lines) | stat: -rw-r--r-- 2,907 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
//// [tests/cases/conformance/jsdoc/declarations/jsDeclarationsMultipleExportFromMerge.ts] ////

//// [items.js]
export const a = 1;
export const b = 2;
export const c = 3;

//// [justone.js]
export { a, b, c } from "./items";

//// [two.js]
export { a } from "./items";
export { b, c } from "./items";

//// [multiple.js]
export {a, b} from "./items";
export {a as aa} from "./two";
export {b as bb} from "./two";
export {c} from "./two"
export {c as cc} from "./items";


//// [items.js]
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.c = exports.b = exports.a = void 0;
exports.a = 1;
exports.b = 2;
exports.c = 3;
//// [justone.js]
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.c = exports.b = exports.a = void 0;
var items_1 = require("./items");
Object.defineProperty(exports, "a", { enumerable: true, get: function () { return items_1.a; } });
Object.defineProperty(exports, "b", { enumerable: true, get: function () { return items_1.b; } });
Object.defineProperty(exports, "c", { enumerable: true, get: function () { return items_1.c; } });
//// [two.js]
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.c = exports.b = exports.a = void 0;
var items_1 = require("./items");
Object.defineProperty(exports, "a", { enumerable: true, get: function () { return items_1.a; } });
var items_2 = require("./items");
Object.defineProperty(exports, "b", { enumerable: true, get: function () { return items_2.b; } });
Object.defineProperty(exports, "c", { enumerable: true, get: function () { return items_2.c; } });
//// [multiple.js]
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.cc = exports.c = exports.bb = exports.aa = exports.b = exports.a = void 0;
var items_1 = require("./items");
Object.defineProperty(exports, "a", { enumerable: true, get: function () { return items_1.a; } });
Object.defineProperty(exports, "b", { enumerable: true, get: function () { return items_1.b; } });
var two_1 = require("./two");
Object.defineProperty(exports, "aa", { enumerable: true, get: function () { return two_1.a; } });
var two_2 = require("./two");
Object.defineProperty(exports, "bb", { enumerable: true, get: function () { return two_2.b; } });
var two_3 = require("./two");
Object.defineProperty(exports, "c", { enumerable: true, get: function () { return two_3.c; } });
var items_2 = require("./items");
Object.defineProperty(exports, "cc", { enumerable: true, get: function () { return items_2.c; } });


//// [items.d.ts]
export const a: 1;
export const b: 2;
export const c: 3;
//// [justone.d.ts]
export { a, b, c } from "./items";
//// [two.d.ts]
export { a, b, c } from "./items";
//// [multiple.d.ts]
export { a, b, c as cc } from "./items";
export { a as aa, b as bb, c } from "./two";