mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
5bc7cc0f03
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: RyanCavanaugh <[email protected]>
22 lines
539 B
TypeScript
22 lines
539 B
TypeScript
//// [tests/cases/compiler/moduleDeclarationsInNonScopeBlock.ts] ////
|
|
|
|
//// [moduleDeclarationsInNonScopeBlock.ts]
|
|
{
|
|
export { a } from "exportNamed";
|
|
export * from "exportStar";
|
|
import { b } from "importNamed";
|
|
import c = require("importEquals");
|
|
import "sideEffect";
|
|
}
|
|
|
|
|
|
//// [moduleDeclarationsInNonScopeBlock.js]
|
|
"use strict";
|
|
{
|
|
export { a } from "exportNamed";
|
|
export * from "exportStar";
|
|
import { b } from "importNamed";
|
|
import c = require("importEquals");
|
|
import "sideEffect";
|
|
}
|