mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
13 lines
532 B
Plaintext
13 lines
532 B
Plaintext
exportSpecifierReferencingOuterDeclaration3.ts(6,30): error TS2694: Namespace 'X' has no exported member 'bar'.
|
|
|
|
|
|
==== exportSpecifierReferencingOuterDeclaration3.ts (1 errors) ====
|
|
declare namespace X { export interface bar { } }
|
|
declare module "m" {
|
|
namespace X { export interface foo { } }
|
|
export { X };
|
|
export function foo(): X.foo;
|
|
export function bar(): X.bar; // error
|
|
~~~
|
|
!!! error TS2694: Namespace 'X' has no exported member 'bar'.
|
|
} |