We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
data.meta
1 parent feeec02 commit 24f4576Copy full SHA for 24f4576
index.d.ts
@@ -37,6 +37,15 @@ export interface RawData extends Data {}
37
38
// Register nodes in content.
39
declare module 'hast' {
40
+ interface ElementData {
41
+ /**
42
+ * Custom info relating to the node, if `<code>` in `<pre>`.
43
+ *
44
+ * Defined by `mdast-util-to-hast` (`remark-rehype`).
45
+ */
46
+ meta?: string | null | undefined
47
+ }
48
+
49
interface ElementContentMap {
50
/**
51
* Raw string of HTML embedded into HTML AST.
package.json
@@ -101,6 +101,7 @@
101
"**/*.ts"
102
],
103
"rules": {
104
+ "@typescript-eslint/ban-types": "off",
105
"@typescript-eslint/consistent-type-definitions": "off"
106
}
107
0 commit comments