Commit 3766c4d
authored
Fill optional AST properties when both estree and typescript parser plugin are enabled (Part 3) (#17235)
* fill optional AST properties for TS* nodes
* fix: create TSAbstractAccessorProperty
* provide optional properties for more TS* nodes
* add test against babel-parser / typescript fixtures
* running parser test using the test options
* update parser AST fixtures
* fix rebase issue
* update Babel 8 AST fixtures1 parent 6e5b5e2 commit 3766c4d
31 files changed
Lines changed: 475 additions & 175 deletions
File tree
- eslint/babel-eslint-parser
- test
- packages/babel-parser
- src
- plugins
- typescript
- test/fixtures
- estree
- class-method
- typescript-type-param-babel-7
- typescript-type-params-ranges-true-babel-7
- typescript-type-params-ranges-true
- typescript-type-params
- object-method
- typescript-babel-7
- typescript
- typescript
- enum-babel-7
- enum
- import-babel-7
- import-dot-this
- import-with-options-babel-7
- import-with-options
- import
- literals
- loc-index-property-babel-7
- loc-index-property
- shorthand-ambient-module
- typescript
- estree-compat
- import
- export-import-require
- export-import-type-as-identifier
- export-import-type-require
- export-import-type
- export-import
- type-asi
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| |||
0 commit comments