@docusaurus/types 0.0.0-4485 → 0.0.0-4489

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 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/types",
3
- "version": "0.0.0-4485",
3
+ "version": "0.0.0-4489",
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": "c21382b895098d7d65193e04f5977ed073d3f26e"
26
+ "gitHead": "f4020aaf26717ce5e5085a949cf3b7e088bc386f"
27
27
  }
package/src/index.d.ts CHANGED
@@ -258,7 +258,7 @@ export interface Plugin<Content = unknown> {
258
258
  actions: PluginContentLoadedActions;
259
259
  }) => Promise<void>;
260
260
  routesLoaded?: (routes: RouteConfig[]) => void; // TODO remove soon, deprecated (alpha-60)
261
- postBuild?: (props: Props) => void;
261
+ postBuild?: (props: Props & {content: Content}) => Promise<void>;
262
262
  postStart?: (props: Props) => void;
263
263
  // TODO refactor the configureWebpack API surface: use an object instead of multiple params (requires breaking change)
264
264
  configureWebpack?: (