We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
TypeScript Version: nightly (2.6.0-dev.20170916)
See test extract-method-empty-namespace.ts.
extract-method-empty-namespace.ts
Code
function f() { namespace N {} }
Extract "namespace N" out to a global function.
Expected behavior:
function f() { newFunction(); } function newFunction() { namespace N { } }
Actual behavior:
function f() { newFunction(N); } function newFunction(N: any) { namespace N { } }
TypeScript Version: nightly (2.6.0-dev.20170916)
See test
extract-method-empty-namespace.ts.Code
Extract "namespace N" out to a global function.
Expected behavior:
Actual behavior: