mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
22 lines
323 B
TypeScript
22 lines
323 B
TypeScript
//// [tests/cases/conformance/importDefer/exportDeferInvalid.ts] ////
|
|
|
|
//// [a.ts]
|
|
export function foo() {
|
|
console.log("foo from a");
|
|
}
|
|
|
|
//// [b.ts]
|
|
export defer * as ns from "a";
|
|
|
|
|
|
//// [a.js]
|
|
export function foo() {
|
|
console.log("foo from a");
|
|
}
|
|
//// [b.js]
|
|
"use strict";
|
|
defer * as;
|
|
ns;
|
|
from;
|
|
"a";
|