mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
18 lines
401 B
TypeScript
18 lines
401 B
TypeScript
//// [tests/cases/compiler/ctsFileInEsnextHelpers.ts] ////
|
|
|
|
//// [notmodule.cts]
|
|
export async function foo() {
|
|
await 0;
|
|
}
|
|
|
|
//// [notmodule.cjs]
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.foo = foo;
|
|
const tslib_1 = require("tslib");
|
|
function foo() {
|
|
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
yield 0;
|
|
});
|
|
}
|