@types/react 17.0.11 → 17.0.15

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 (4) hide show
  1. react/README.md +2 -2
  2. react/index.d.ts +960 -954
  3. react/next.d.ts +4 -4
  4. react/package.json +2 -7
react/next.d.ts CHANGED
@@ -39,7 +39,7 @@ declare module '.' {
39
39
  * In other words, the tree is CPU bound and not I/O bound (e.g. due to fetching data).
40
40
  * @see {@link https://github.com/facebook/react/pull/19936}
41
41
  */
42
- unstable_expectedLoadTime?: number;
42
+ unstable_expectedLoadTime?: number | undefined;
43
43
  }
44
44
 
45
45
  export type SuspenseListRevealOrder = 'forwards' | 'backwards' | 'together';
@@ -68,18 +68,18 @@ declare module '.' {
68
68
  * - `collapsed` shows only the next fallback in the list.
69
69
  * - `hidden` doesn’t show any unloaded items.
70
70
  */
71
- tail?: SuspenseListTailMode;
71
+ tail?: SuspenseListTailMode | undefined;
72
72
  }
73
73
 
74
74
  interface NonDirectionalSuspenseListProps extends SuspenseListCommonProps {
75
75
  /**
76
76
  * Defines the order in which the `SuspenseList` children should be revealed.
77
77
  */
78
- revealOrder?: Exclude<SuspenseListRevealOrder, DirectionalSuspenseListProps['revealOrder']>;
78
+ revealOrder?: Exclude<SuspenseListRevealOrder, DirectionalSuspenseListProps['revealOrder']> | undefined;
79
79
  /**
80
80
  * The tail property is invalid when not using the `forwards` or `backwards` reveal orders.
81
81
  */
82
- tail?: never;
82
+ tail?: never | undefined;
83
83
  }
84
84
 
85
85
  export type SuspenseListProps = DirectionalSuspenseListProps | NonDirectionalSuspenseListProps;
react/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "17.0.11",
3
+ "version": "17.0.15",
4
4
  "description": "TypeScript definitions for React",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
6
6
  "license": "MIT",
@@ -32,11 +32,6 @@
32
32
  "url": "https://github.com/pzavolinsky",
33
33
  "githubUsername": "pzavolinsky"
34
34
  },
35
- {
36
- "name": "Digiguru",
37
- "url": "https://github.com/digiguru",
38
- "githubUsername": "digiguru"
39
- },
40
35
  {
41
36
  "name": "Eric Anderson",
42
37
  "url": "https://github.com/ericanderson",
@@ -151,6 +146,6 @@
151
146
  "@types/scheduler": "*",
152
147
  "csstype": "^3.0.2"
153
148
  },
154
- "typesPublisherContentHash": "c77392134576d6e26ea1cf5757ae9bb18e415173effa960387c647125921ac6b",
149
+ "typesPublisherContentHash": "70920cc3ffab884affc83b036bcfe599db00cfa82fa870e55dc8f6281f59efa1",
155
150
  "typeScriptVersion": "3.6"
156
151
  }