Skip to content

[@babel/core] add missing default extensions type#35336

Merged
sandersn merged 1 commit into
DefinitelyTyped:masterfrom
jakegavin:add-babel-default-extensions
May 15, 2019
Merged

[@babel/core] add missing default extensions type#35336
sandersn merged 1 commit into
DefinitelyTyped:masterfrom
jakegavin:add-babel-default-extensions

Conversation

@jakegavin

Copy link
Copy Markdown
Contributor

This PR adds type definition for DEFAULT_EXTENSIONS which is defined in @babel/core here. Is explicitly listing the string values the best way to define that type since they cant change? Or should it be export const DEFAULT_EXTENSIONS: string[];?

  • Provide a URL to documentation or source code which provides context for the suggested changes: https://github.com/babel/babel/blob/master/packages/babel-core/src/index.js#L39-L45
  • Increase the version number in the header if appropriate: The version number in the header is old but I think bumping it might be out of scope for this PR.
  • If you are making substantial changes, consider adding a tslint.json containing { "extends": "dtslint/dt.json" }.

@jakegavin jakegavin requested a review from Jessidhia as a code owner May 10, 2019 05:47
@typescript-bot typescript-bot added Popular package This PR affects a popular package (as counted by NPM download counts). Awaiting reviewer feedback labels May 10, 2019
@typescript-bot

typescript-bot commented May 10, 2019

Copy link
Copy Markdown
Contributor

@jakegavin Thank you for submitting this PR!

🔔 @yortus @marvinhagemeister @mgroenhoff @Jessidhia - please review this PR in the next few days. Be sure to explicitly select Approve or Request Changes in the GitHub UI so I know what's going on.

If no reviewer appears after a week, a DefinitelyTyped maintainer will review the PR instead.

@typescript-bot typescript-bot added the Unmerged The author did not merge the PR when it was ready. label May 15, 2019
@typescript-bot

Copy link
Copy Markdown
Contributor

After 5 days, no one has reviewed the PR 😞. A maintainer will be reviewing the PR in the next few days and will either merge it or request revisions. Thank you for your patience!

@sandersn sandersn merged commit c926d9f into DefinitelyTyped:master May 15, 2019
@typescript-bot

Copy link
Copy Markdown
Contributor

I just published @types/babel__core@7.1.2 to npm.

iRON5 pushed a commit to iRON5/DefinitelyTyped that referenced this pull request Aug 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Popular package This PR affects a popular package (as counted by NPM download counts). Unmerged The author did not merge the PR when it was ready.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants