microsoft / microsoft/TypeScript

Support ES `export <default> from` form

Open
#35,010 0 comments 16 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Suggestion Waiting for TC39
Dominant language
Go
Stars
111k
Forks
14.3k
Avg merge
2d 4h
Merged PRs (30d)
132

Description

+++ This issue was initially created as a clone of #4813 +++

#4813 (and #34903) are only implementing the export * as ns from feature.

This tracks implementation of the export default from proposal.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read the linked TC39 export-default-from proposal first, then compare the implementation tracked by #4813 and #34903. Determine the compiler entry points and tests needed to support the export default from syntax, with completion requiring TypeScript to parse and emit the proposed form correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.