@types/react-dom 18.2.5 → 18.2.6

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.
react-dom/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for React (react-dom) (https://reactjs.or
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dom.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Mon, 12 Jun 2023 18:33:09 GMT
11
+ * Last updated: Mon, 19 Jun 2023 12:32:43 GMT
12
12
  * Dependencies: [@types/react](https://npmjs.com/package/@types/react)
13
13
  * Global values: `ReactDOM`, `ReactDOMServer`
14
14
 
@@ -5,26 +5,26 @@
5
5
  *
6
6
  * To load the types declared here in an actual project, there are three ways. The easiest one,
7
7
  * if your `tsconfig.json` already has a `"types"` array in the `"compilerOptions"` section,
8
- * is to add `"react-dom/next"` to the `"types"` array.
8
+ * is to add `"react-dom/canary"` to the `"types"` array.
9
9
  *
10
10
  * Alternatively, a specific import syntax can to be used from a typescript file.
11
11
  * This module does not exist in reality, which is why the {} is important:
12
12
  *
13
13
  * ```ts
14
- * import {} from 'react-dom/next'
14
+ * import {} from 'react-dom/canary'
15
15
  * ```
16
16
  *
17
17
  * It is also possible to include it through a triple-slash reference:
18
18
  *
19
19
  * ```ts
20
- * /// <reference types="react-dom/next" />
20
+ * /// <reference types="react-dom/canary" />
21
21
  * ```
22
22
  *
23
23
  * Either the import or the reference only needs to appear once, anywhere in the project.
24
24
  */
25
25
 
26
26
  // See https://github.com/facebook/react/blob/main/packages/react-dom/index.js to see how the exports are declared,
27
- // but confirm with published source code (e.g. https://unpkg.com/react-dom@next) that these exports end up in the published code
27
+ // but confirm with published source code (e.g. https://unpkg.com/react-dom@canary) that these exports end up in the published code
28
28
 
29
29
  import React = require('react');
30
30
  import ReactDOM = require('.');
@@ -28,7 +28,7 @@
28
28
  // but confirm with published source code (e.g. https://unpkg.com/react-dom@experimental) that these exports end up in the published code
29
29
 
30
30
  import React = require('react');
31
- import ReactDOM = require('./next');
31
+ import ReactDOM = require('./canary');
32
32
 
33
33
  export {};
34
34
 
react-dom/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react-dom",
3
- "version": "18.2.5",
3
+ "version": "18.2.6",
4
4
  "description": "TypeScript definitions for React (react-dom)",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dom",
6
6
  "license": "MIT",
@@ -49,7 +49,7 @@
49
49
  "dependencies": {
50
50
  "@types/react": "*"
51
51
  },
52
- "typesPublisherContentHash": "c80af5b64c83323b3343b3a5544ed67e20bf6eadd34775daea3dfd6f70cd82dd",
52
+ "typesPublisherContentHash": "f17619716ec62b2f4f9d4541bc4e5fe0365b64cd6abc76511a375496bf09747a",
53
53
  "typeScriptVersion": "4.3",
54
54
  "exports": {
55
55
  ".": {
@@ -62,9 +62,9 @@
62
62
  "default": "./client.d.ts"
63
63
  }
64
64
  },
65
- "./next": {
65
+ "./canary": {
66
66
  "types": {
67
- "default": "./next.d.ts"
67
+ "default": "./canary.d.ts"
68
68
  }
69
69
  },
70
70
  "./server": {