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
- struct's lifetime requirements can be bypassed via covariant field assignment
- Proposal to Reorganize the Moderation Team and Review Moderation Policies
- Progressive FPS degradation appears to be related to dota2.com — blocking the domain prevents the performance loss
- proposal: container/...: generic collection types
- Better Custom Endpoint BYOK
- A concrete policy for backward compatibility until Godot 5.0
Raise real-world problems, find people facing the same issue, and discuss solutions.4,500 issues0 comments
github (Other)
struct's lifetime requirements can be bypassed via covariant field assignment
Proposal to Reorganize the Moderation Team and Review Moderation Policies
Progressive FPS degradation appears to be related to dota2.com — blocking the domain prevents the performance loss
proposal: container/...: generic collection types
Better Custom Endpoint BYOK
A concrete policy for backward compatibility until Godot 5.0
New MTP models not supported
Tracking: 429 / Capacity Issues
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!
Comments (0)
No comments yet. Start the discussion.