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
|
//// [tests/cases/conformance/externalModules/moduleResolutionWithExtensions.ts] ////
//// [a.ts]
export default 0;
// No extension: '.ts' added
//// [b.ts]
import a from './a';
// '.js' extension: stripped and replaced with '.ts'
//// [d.ts]
import a from './a.js';
//// [jquery.d.ts]
declare var x: number;
export default x;
// No extension: '.d.ts' added
//// [jquery_user_1.ts]
import j from "./jquery";
// '.js' extension: stripped and replaced with '.d.ts'
//// [jquery_user_1.ts]
import j from "./jquery.js"
//// [a.js]
"use strict";
exports.__esModule = true;
exports["default"] = 0;
// No extension: '.ts' added
//// [b.js]
"use strict";
exports.__esModule = true;
// '.js' extension: stripped and replaced with '.ts'
//// [d.js]
"use strict";
exports.__esModule = true;
//// [jquery_user_1.js]
"use strict";
exports.__esModule = true;
|