Dont allow namespace reexport symbols when looking up valid local names (#43969)

This commit is contained in:
Wesley Wigham
2021-05-06 12:03:48 -07:00
committed by GitHub
parent 233f28ca27
commit a5607a4eab
32 changed files with 110 additions and 34 deletions

View File

@@ -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;