* Rework symbol visibility checking to allow for multiple potential containers * Express a preference for the local symbol if accessible from the enclosing declaration
10 lines
231 B
TypeScript
10 lines
231 B
TypeScript
// @declaration: true
|
|
// @filename: thing.d.ts
|
|
declare namespace Foo {
|
|
export interface Bar {}
|
|
export function f(): Bar;
|
|
}
|
|
export = Foo;
|
|
// @filename: index.ts
|
|
import { f } from "./thing";
|
|
export const thing = f(); |