In `foo.d.ts`: ```js declare module 'x' { namespace z {} export = z; } ``` In `bar.ts`: ```js import * as foo from 'x'; foo.bar(); ``` Running tsc (2.2): ``` bar.ts(2,1): error TS2304: Cannot find name 'foo'. ``` I think `foo` exists, it's really just missing a `bar` attribute?
In
foo.d.ts:In
bar.ts:Running tsc (2.2):
I think
fooexists, it's really just missing abarattribute?