mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-17 01:49:57 -05:00
Dont allow namespace reexport symbols when looking up valid local names (#43969)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
// @target: esnext
|
||||
// @module: esnext
|
||||
// @declaration: true
|
||||
// @filename: sub.ts
|
||||
export function a() {}
|
||||
// @filename: index.ts
|
||||
export const x = add(import("./sub"));
|
||||
export * as Q from "./sub";
|
||||
declare function add<T>(x: Promise<T>): T;
|
||||
Reference in New Issue
Block a user