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

[ts] Throw a syntax error for index signature with `declare` #12111

merged 1 commit into from Sep 26, 2020


Copy link

@sosukesuzuki sosukesuzuki commented Sep 25, 2020

Q                       A
Fixed Issues? Fixes #12109
Patch: Bug Fix? Y
Major: Breaking Change? N
Minor: New Feature? N
Tests Added + Pass? Yes
Documentation PR Link
Any Dependency Changes?
License MIT

Copy link

@babel-bot babel-bot commented Sep 25, 2020

Build successful! You can test your changes in the REPL here:

Copy link

@codesandbox codesandbox bot commented Sep 25, 2020

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 5076c90:

Sandbox Source
babel-repl-custom-plugin Configuration
babel-plugin-multi-config Configuration
Copy link

@JLHwung JLHwung left a comment


Copy link

@nicolo-ribaudo nicolo-ribaudo left a comment


@nicolo-ribaudo nicolo-ribaudo changed the title Throw a syntax error for index signature with declare modifier [ts] Throw a syntax error for index signature with `declare` Sep 26, 2020
@nicolo-ribaudo nicolo-ribaudo merged commit 434b65b into babel:main Sep 26, 2020
15 of 16 checks passed
15 of 16 checks passed
Prepare Cache
Test on Node.js Latest
Build Babel Artifacts
Test on Node.js (13)
Test on Node.js (12)
Test on Node.js (10)
Test on Node.js (8)
Test on Node.js (6)
test262-pr Workflow: test262-pr
Gitpod Open an online workspace in Gitpod
Travis CI - Pull Request Build Passed
babel/repl REPL preview is available
build-standalone Workflow: build-standalone
ci/codesandbox Building packages succeeded.
codecov/project Codecov Report
e2e Workflow: e2e
@sosukesuzuki sosukesuzuki deleted the sosukesuzuki:fix-12109 branch Sep 28, 2020
@fisker fisker mentioned this pull request Oct 15, 2020
3 of 3 tasks complete
sosukesuzuki added a commit to sosukesuzuki/prettier that referenced this pull request Oct 16, 2020
sosukesuzuki added a commit to prettier/prettier that referenced this pull request Oct 20, 2020
* Install babel/parser 7.12

* Add tests for babel/babel#12161

* Add test for babel/babel#12076

* Add test for babel/babel#12085

* Add test for babel/babel#12108

* Add test for babel/babel#12120

* Add test for babel/babel#12054

* Add test for babel/babel#12061

* Add test babel/babel#12093

* Add test for babel/babel#12065

* Add test for babel/babel#12111

* Add test for babel/babel#12072

* Switch syntax-module-attributes to syntax-import-assertion

* Support "String import/export specifier"

* Remove tests for module-attributes

* Add changelog

* Update to 7.12.3

* Fix by linter

* Fix by spellchecker

* Add tests for module attributes to errors

* Add error test for module string name with import

* Remove TSTypeCastExpression

* Add tests for funny import-assertions

* Update snapshots|

* Add more tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked issues

Successfully merging this pull request may close these issues.

4 participants
You can’t perform that action at this time.