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
Update @babel/parser to 7.12 #9408
Merged
+432
−74
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
c87b672
Install babel/parser 7.12
sosukesuzuki b5308bd
Add tests for babel/babel#12161
sosukesuzuki 7979066
Add test for babel/babel#12076
sosukesuzuki b19743f
Add test for babel/babel#12085
sosukesuzuki d599e72
Add test for babel/babel#12108
sosukesuzuki 7417d90
Add test for babel/babel#12120
sosukesuzuki cf0ed63
Add test for babel/babel#12054
sosukesuzuki 2e42f06
Add test for babel/babel#12061
sosukesuzuki 6c20b0d
Add test babel/babel#12093
sosukesuzuki 58cbf8b
Add test for babel/babel#12065
sosukesuzuki cab1ee7
Add test for babel/babel#12111
sosukesuzuki e418282
Add test for babel/babel#12072
sosukesuzuki d2365f6
Switch syntax-module-attributes to syntax-import-assertion
sosukesuzuki 26ec800
Support "String import/export specifier"
sosukesuzuki 9eb8275
Merge branch 'master' into babel-7.12.0
sosukesuzuki ac9f558
Remove tests for module-attributes
sosukesuzuki 71128fe
Add changelog
sosukesuzuki 766c4cf
Update to 7.12.3
sosukesuzuki c06180e
Fix by linter
sosukesuzuki b1558d1
Fix by spellchecker
sosukesuzuki 6452008
Add tests for module attributes to errors
sosukesuzuki f1182e7
Add error test for module string name with import
sosukesuzuki 226b1db
Remove TSTypeCastExpression
sosukesuzuki bc5251d
Add tests for funny import-assertions
sosukesuzuki 0fddd9a
Merge branch 'master' into babel-7.12.0
sosukesuzuki 7042f57
Update snapshots|
sosukesuzuki aaa7326
Add more tests
sosukesuzuki File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,7 @@ class A { | |
return new A() | ||
} | ||
} | ||
|
||
class B { | ||
constructor<>() {} | ||
} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will it work if there are comments inside?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, class constructor in TypeScript does not accept type parameterss.