@docusaurus/types 0.0.0-4680 → 0.0.0-4684
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/index.d.ts +2 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docusaurus/types",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-4684",
|
|
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.69.1",
|
|
24
24
|
"webpack-merge": "^5.8.0"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "9230ee0c61b8d04d2fcf195e72e1f992d7b39a86"
|
|
27
27
|
}
|
package/src/index.d.ts
CHANGED
|
@@ -161,10 +161,7 @@ export type ImportedPresetModule = PresetModule & {
|
|
|
161
161
|
default?: PresetModule;
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
export type PresetConfig =
|
|
165
|
-
| [string, Record<string, unknown>]
|
|
166
|
-
| [string]
|
|
167
|
-
| string;
|
|
164
|
+
export type PresetConfig = string | [string, Record<string, unknown>];
|
|
168
165
|
|
|
169
166
|
export type HostPortCLIOptions = {
|
|
170
167
|
host?: string;
|
|
@@ -356,9 +353,8 @@ export type ConfigurePostCssFn = Plugin<unknown>['configurePostCss'];
|
|
|
356
353
|
export type PluginOptions = {id?: string} & Record<string, unknown>;
|
|
357
354
|
|
|
358
355
|
export type PluginConfig =
|
|
359
|
-
| [string, PluginOptions]
|
|
360
|
-
| [string]
|
|
361
356
|
| string
|
|
357
|
+
| [string, PluginOptions]
|
|
362
358
|
| [PluginModule, PluginOptions]
|
|
363
359
|
| PluginModule;
|
|
364
360
|
|