8000 fix(ast-spec): add `JSXElement` type to the `JSXAttribute['value']` (… · danvk/typescript-eslint@a0029c0 · GitHub
[go: up one dir, main page]

Skip to content

Commit a0029c0

Browse files
auvreddanvk
authored andcommitted
fix(ast-spec): add JSXElement type to the JSXAttribute['value'] (typescript-eslint#8285)
* fix(ast-spec): add `JSXElement` type to the `JSXAttribute['value']` * test: add fixtures * chore: sync snapshots
1 parent 8eb089f commit a0029c0

File tree

15 files changed

+1068
-1
lines changed

15 files changed

+1068
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<App foo=<div>bar</div> />;

packages/ast-spec/src/jsx/JSXAttribute/fixtures/element-non-self-closing/snapshots/1-TSESTree-AST.shot

Lines changed: 139 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/ast-spec/src/jsx/JSXAttribute/fixtures/element-non-self-closing/snapshots/2-TSESTree-Tokens.shot

Lines changed: 156 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
0