TypeScript Version: 2.5.0-dev.20170622
Code
// a.ts
export default function foo () {}
// b.ts
import * as a from './a'
a./* request completion */
Expected behavior:
default to be offered as the completion options.
Actual behavior:
foo is offered as the completion option.

Fortunately, the type checker correctly expects default as the key. Calling a.default() will work, but a.foo() (as suggested by the completions) will error with "Property 'foo' does not exist on type".
Also possibly related is that import { /* request completion */ } from './a' does not list default as an option (it should), but it at least does not list foo.
TypeScript Version: 2.5.0-dev.20170622
Code
Expected behavior:
defaultto be offered as the completion options.Actual behavior:
foois offered as the completion option.Fortunately, the type checker correctly expects
defaultas the key. Callinga.default()will work, buta.foo()(as suggested by the completions) will error with "Property 'foo' does not exist on type".Also possibly related is that
import { /* request completion */ } from './a'does not listdefaultas an option (it should), but it at least does not listfoo.