@docusaurus/types 0.0.0-4202 → 0.0.0-4206

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/index.d.ts +1 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/types",
3
- "version": "0.0.0-4202",
3
+ "version": "0.0.0-4206",
4
4
  "description": "Common types for Docusaurus packages.",
5
5
  "types": "./src/index.d.ts",
6
6
  "publishConfig": {
@@ -23,5 +23,5 @@
23
23
  "webpack": "^5.61.0",
24
24
  "webpack-merge": "^5.8.0"
25
25
  },
26
- "gitHead": "16c22ca6de85a830ba2ead909152a02392588f12"
26
+ "gitHead": "7636961d18aa90fcf9ac99088f30d2bfd76afb9c"
27
27
  }
package/src/index.d.ts CHANGED
@@ -397,9 +397,7 @@ interface HtmlTagObject {
397
397
  * Attributes of the html tag
398
398
  * E.g. `{'disabled': true, 'value': 'demo', 'rel': 'preconnect'}`
399
399
  */
400
- attributes?: {
401
- [attributeName: string]: string | boolean;
402
- };
400
+ attributes?: Partial<Record<string, string | boolean>>;
403
401
  /**
404
402
  * The tag name e.g. `div`, `script`, `link`, `meta`
405
403
  */