TypeScript/tests/baselines/reference/missingMemberErrorHasShortPath.js
Ron Buckton 711b4e778b
Indirect calls for imported functions (#44624)
* Indirect calls for imported functions

* Fix unit tests
2021-06-21 19:51:13 -07:00

21 lines
437 B
TypeScript

//// [tests/cases/compiler/missingMemberErrorHasShortPath.ts] ////
//// [utils.ts]
export function exist() {}
//// [sample.ts]
import { exit } from "./utils.js";
exit()
//// [utils.js]
"use strict";
exports.__esModule = true;
exports.exist = void 0;
function exist() { }
exports.exist = exist;
//// [sample.js]
"use strict";
exports.__esModule = true;
var utils_js_1 = require("./utils.js");
(0, utils_js_1.exit)();