Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "fix(isolated_declarations): Always emit module declarations (#4911)" #4916

Merged
merged 1 commit into from
Aug 15, 2024

Conversation

Dunqing
Copy link
Member

@Dunqing Dunqing commented Aug 15, 2024

This reverts commit 0fb0b71.

test failed https://github.com/oxc-project/oxc/actions/runs/10405198969/job/28815418191

We should only emit for

declare module "xx" {}
declare global {}

Do not emit for

module x {}
declare module x {}

@MichaelMitchell-at cc

@github-actions github-actions bot added the A-isolated-declarations Isolated Declarations label Aug 15, 2024
Copy link

graphite-app bot commented Aug 15, 2024

Your org has enabled the Graphite merge queue for merging into main

Add the label “merge” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix.

You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link.

@Dunqing Dunqing added the 0-merge Merge with Graphite Merge Queue label Aug 15, 2024
Copy link

graphite-app bot commented Aug 15, 2024

Merge activity

  • Aug 15, 10:45 AM EDT: The merge label 'merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Aug 15, 10:48 AM EDT: Dunqing added this pull request to the Graphite merge queue.
  • Aug 15, 10:52 AM EDT: Dunqing merged this pull request with the Graphite merge queue.

…4911)" (#4916)

This reverts commit 0fb0b71.

test failed  https://github.com/oxc-project/oxc/actions/runs/10405198969/job/28815418191

We should only emit for
```ts
declare module "xx" {}
declare global {}
```

Do not emit for
```ts
module x {}
declare module x {}
```

@MichaelMitchell-at cc
@Dunqing Dunqing force-pushed the revert-4911-module_declaration branch from cd53cbe to 46fb3cb Compare August 15, 2024 14:48
@graphite-app graphite-app bot merged commit 46fb3cb into main Aug 15, 2024
24 checks passed
@graphite-app graphite-app bot deleted the revert-4911-module_declaration branch August 15, 2024 14:52
Copy link

codspeed-hq bot commented Aug 15, 2024

CodSpeed Performance Report

Merging #4916 will not alter performance

Comparing revert-4911-module_declaration (46fb3cb) with main (0fb0b71)

Summary

✅ 29 untouched benchmarks

@MichaelMitchell-at
Copy link
Contributor

@Dunqing sorry and thanks. I put up another fix here #4919

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0-merge Merge with Graphite Merge Queue A-isolated-declarations Isolated Declarations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants