@docusaurus/types 3.9.2-canary-6450 → 3.9.2-canary-6458
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/plugin.d.ts +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docusaurus/types",
|
|
3
|
-
"version": "3.9.2-canary-
|
|
3
|
+
"version": "3.9.2-canary-6458",
|
|
4
4
|
"description": "Common types for Docusaurus packages.",
|
|
5
5
|
"types": "./src/index.d.ts",
|
|
6
6
|
"publishConfig": {
|
|
@@ -28,5 +28,5 @@
|
|
|
28
28
|
"react": "^18.0.0 || ^19.0.0",
|
|
29
29
|
"react-dom": "^18.0.0 || ^19.0.0"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "52e225fa534c30a6526f17dfdd98eb4982e50fd2"
|
|
32
32
|
}
|
package/src/plugin.d.ts
CHANGED
|
@@ -104,6 +104,8 @@ export type HtmlTagObject = {
|
|
|
104
104
|
tagName: string;
|
|
105
105
|
/** The inner HTML */
|
|
106
106
|
innerHTML?: string;
|
|
107
|
+
/** Allow custom html elements, e.g. `<custom-element>` */
|
|
108
|
+
customElement?: boolean;
|
|
107
109
|
};
|
|
108
110
|
|
|
109
111
|
export type HtmlTags = string | HtmlTagObject | (string | HtmlTagObject)[];
|