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]>
38 lines
2.6 KiB
Plaintext
38 lines
2.6 KiB
Plaintext
moduleDeclarationsInNonScopeBlock.ts(2,5): error TS1233: An export declaration can only be used at the top level of a namespace or module.
|
|
moduleDeclarationsInNonScopeBlock.ts(2,23): error TS2307: Cannot find module 'exportNamed' or its corresponding type declarations.
|
|
moduleDeclarationsInNonScopeBlock.ts(3,5): error TS1233: An export declaration can only be used at the top level of a namespace or module.
|
|
moduleDeclarationsInNonScopeBlock.ts(3,19): error TS2307: Cannot find module 'exportStar' or its corresponding type declarations.
|
|
moduleDeclarationsInNonScopeBlock.ts(4,5): error TS1232: An import declaration can only be used at the top level of a namespace or module.
|
|
moduleDeclarationsInNonScopeBlock.ts(4,23): error TS2307: Cannot find module 'importNamed' or its corresponding type declarations.
|
|
moduleDeclarationsInNonScopeBlock.ts(5,5): error TS1232: An import declaration can only be used at the top level of a namespace or module.
|
|
moduleDeclarationsInNonScopeBlock.ts(5,24): error TS2307: Cannot find module 'importEquals' or its corresponding type declarations.
|
|
moduleDeclarationsInNonScopeBlock.ts(6,5): error TS1232: An import declaration can only be used at the top level of a namespace or module.
|
|
|
|
|
|
==== moduleDeclarationsInNonScopeBlock.ts (9 errors) ====
|
|
{
|
|
export { a } from "exportNamed";
|
|
~~~~~~
|
|
!!! error TS1233: An export declaration can only be used at the top level of a namespace or module.
|
|
~~~~~~~~~~~~~
|
|
!!! error TS2307: Cannot find module 'exportNamed' or its corresponding type declarations.
|
|
export * from "exportStar";
|
|
~~~~~~
|
|
!!! error TS1233: An export declaration can only be used at the top level of a namespace or module.
|
|
~~~~~~~~~~~~
|
|
!!! error TS2307: Cannot find module 'exportStar' or its corresponding type declarations.
|
|
import { b } from "importNamed";
|
|
~~~~~~
|
|
!!! error TS1232: An import declaration can only be used at the top level of a namespace or module.
|
|
~~~~~~~~~~~~~
|
|
!!! error TS2307: Cannot find module 'importNamed' or its corresponding type declarations.
|
|
import c = require("importEquals");
|
|
~~~~~~
|
|
!!! error TS1232: An import declaration can only be used at the top level of a namespace or module.
|
|
~~~~~~~~~~~~~~
|
|
!!! error TS2307: Cannot find module 'importEquals' or its corresponding type declarations.
|
|
import "sideEffect";
|
|
~~~~~~
|
|
!!! error TS1232: An import declaration can only be used at the top level of a namespace or module.
|
|
}
|
|
|