We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
export declare namespace
Import
export namespace N1 { const c1: number; } export declare namespace N2 { const c1: number; }
==>
let [<Import("N1","module")>] n1: N1.IExports = jsNative module N1 = type [<AllowNullLiteral>] IExports = abstract c1: float module N2 = type [<AllowNullLiteral>] IExports = abstract c1: float
-> no Import for N2
N2
Splitting export and declare generates Import:
declare namespace N3 { const c1: number; } export = N3
let [<Import("*","module")>] n3: N3.IExports = jsNative module N3 = type [<AllowNullLiteral>] IExports = abstract c1: float
module handles declare:
export module M1 { const c1: number; } export declare module M2 { const c1: number; }
let [<Import("M1","module")>] m1: M1.IExports = jsNative let [<Import("*","module")>] m2: M2.IExports = jsNative module M1 = type [<AllowNullLiteral>] IExports = abstract c1: float module M2 = type [<AllowNullLiteral>] IExports = abstract c1: float
The text was updated successfully, but these errors were encountered:
No branches or pull requests
==>
-> no
Import
forN2
Splitting export and declare generates
Import
:==>
module handles declare:
==>
The text was updated successfully, but these errors were encountered: