We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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 { } }