`position` is missing is `mdxJsxAttribute` node
See original GitHub issueInitial checklist
- I read the support docs
- I read the contributing guide
- I agree to follow the code of conduct
- I searched issues and couldn’t find anything (or linked relevant results below)
Affected packages and versions
remark-mdx
Link to runnable example
No response
Steps to reproduce
<div abc="xxx"></div>
Expected behavior
Add position
in mdxJsxAttribute
node
Actual behavior
{
"type": "root",
"children": [
{
"type": "mdxJsxFlowElement",
"name": "div",
"attributes": [
{
"type": "mdxJsxAttribute",
"name": "abc",
"value": "xxx"
}
],
"children": [],
"position": {
"start": {
"line": 1,
"column": 1,
"offset": 0
},
"end": {
"line": 1,
"column": 22,
"offset": 21
}
},
"data": {
"_mdxExplicitJsx": true
}
}
],
"position": {
"start": {
"line": 1,
"column": 1,
"offset": 0
},
"end": {
"line": 2,
"column": 1,
"offset": 22
}
}
}
Runtime
Node v16
Package manager
yarn v1
OS
macOS
Build and bundle tools
No response
Issue Analytics
- State:
- Created a year ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Property is missing in type which is an interface implemented ...
I was working with an older repo on DDD and I came across a Typescript error as I was trying to recreate the...
Read more >mdast-util-mdx-jsx - npm
MDXJsxAttribute represents a single attribute. The name field must be present. The value field can be present, in which case it is either...
Read more >React.js: Property is missing in type but required in type
The React.js error "Property is missing in type but required in type" occurs when we don't pass all of the required props to...
Read more >npm ERR! Missing script : "start" | SOLVED in React - YouTube
npm ERR! Missing script : "start" | but start script is present | SOLVED in Reactstart script missing error.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I don’t believe GH allows moving across organizations unfortunately 😢 Feel free to open a small one there that references this. Or we’ll just keep this one. I’ll assign you here at least!
Yeah, I’d like to do it when I’m free this week.