@docusaurus/module-type-aliases 2.4.1 → 3.0.0-beta.0

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 +3 -3
  2. package/src/index.d.ts +6 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/module-type-aliases",
3
- "version": "2.4.1",
3
+ "version": "3.0.0-beta.0",
4
4
  "description": "Docusaurus module type aliases.",
5
5
  "types": "./src/index.d.ts",
6
6
  "publishConfig": {
@@ -13,7 +13,7 @@
13
13
  },
14
14
  "dependencies": {
15
15
  "@docusaurus/react-loadable": "5.5.2",
16
- "@docusaurus/types": "2.4.1",
16
+ "@docusaurus/types": "3.0.0-beta.0",
17
17
  "@types/history": "^4.7.11",
18
18
  "@types/react": "*",
19
19
  "@types/react-router-config": "*",
@@ -26,5 +26,5 @@
26
26
  "react-dom": "*"
27
27
  },
28
28
  "license": "MIT",
29
- "gitHead": "60e657d8ae5a4a9ed1c2d777f9defd882cc12681"
29
+ "gitHead": "27a1e90d9fff88af90ecad35bea16d4d7230482a"
30
30
  }
package/src/index.d.ts CHANGED
@@ -242,6 +242,12 @@ declare module '@docusaurus/router' {
242
242
  export {useHistory, useLocation, Redirect, matchPath} from 'react-router-dom';
243
243
  }
244
244
 
245
+ declare module '@docusaurus/useIsomorphicLayoutEffect' {
246
+ import {useLayoutEffect} from 'react';
247
+
248
+ export = useLayoutEffect;
249
+ }
250
+
245
251
  declare module '@docusaurus/useDocusaurusContext' {
246
252
  import type {DocusaurusContext} from '@docusaurus/types';
247
253