IssueRaiser

Type annotations for default export

**TypeScript Version:** 2.1.1 **Code** ```ts import * as webpack from 'webpack'; export default: webpack.Configuration { }; ``` **Expected behavior:** No error **Actual behavior:** `[ts] Expression expected.` error at `default:` I couldn't find an issue for this but it's very likely it's a duplicate <hr> Please 👍 on this issue if you want to see this feature in TypeScript and avoid adding "me too" comments. Thank you!

Posted by mohsen1 on Jan 23, 2017, 1:01 AM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.4,500 issues0 comments

github (Other)

Type annotations for default export

mohsen1Jan 23, 2017, 1:01 AM

**TypeScript Version:** 2.1.1 **Code** ```ts import * as webpack from 'webpack'; export default: webpack.Configuration { }; ``` **Expected behavior:** No error **Actual behavior:** `[ts] Expression expected.` error at `default:` I couldn't find an issue for this but it's very likely it's a duplicate <hr> Please 👍 on this issue if you want to see this feature in TypeScript and avoid adding "me too" comments. Thank you!

Comments (0)

No comments yet. Start the discussion.

Comment on this issue