We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
@types/xast
1 parent 606881c commit e23d678Copy full SHA for e23d678
lib/index.js
@@ -85,7 +85,6 @@ export const x =
85
(typeof attributes[key] !== 'number' ||
86
!Number.isNaN(attributes[key]))
87
) {
88
- // @ts-expect-error Pretty sure we just set it.
89
node.attributes[key] = String(attributes[key])
90
}
91
package.json
@@ -45,7 +45,7 @@
45
"./jsx-runtime": "./jsx-runtime.js"
46
},
47
"dependencies": {
48
- "@types/xast": "^1.0.0"
+ "@types/xast": "^2.0.0"
49
50
"devDependencies": {
51
"@types/node": "^20.0.0",
@@ -59,7 +59,7 @@
59
"tsd": "^0.28.0",
60
"type-coverage": "^2.0.0",
61
"typescript": "^5.0.0",
62
- "unist-builder": "^3.0.0",
+ "unist-builder": "^4.0.0",
63
"xo": "^0.55.0"
64
65
"scripts": {
0 commit comments