@types/react 17.0.3 → 17.0.4

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/LICENSE CHANGED
File without changes
react/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for React (http://facebook.github.io/reac
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Sun, 07 Mar 2021 10:42:17 GMT
11
+ * Last updated: Mon, 26 Apr 2021 10:31:22 GMT
12
12
  * Dependencies: [@types/csstype](https://npmjs.com/package/@types/csstype), [@types/prop-types](https://npmjs.com/package/@types/prop-types), [@types/scheduler](https://npmjs.com/package/@types/scheduler)
13
13
  * Global values: `React`
14
14
 
react/experimental.d.ts CHANGED
@@ -106,17 +106,6 @@ declare module '.' {
106
106
  */
107
107
  export const unstable_SuspenseList: ExoticComponent<SuspenseListProps>;
108
108
 
109
- export interface SuspenseConfig {
110
- busyDelayMs?: number;
111
- busyMinDurationMs?: number;
112
- }
113
-
114
- // undocumented, considered for removal
115
- export function unstable_withSuspenseConfig(
116
- scope: () => VoidOrUndefinedOnly,
117
- config: SuspenseConfig | null | undefined,
118
- ): void;
119
-
120
109
  // must be synchronous
121
110
  export type TransitionFunction = () => VoidOrUndefinedOnly;
122
111
  // strange definition to allow vscode to show documentation on the invocation
@@ -162,7 +151,7 @@ declare module '.' {
162
151
  *
163
152
  * @see https://reactjs.org/docs/concurrent-mode-reference.html#usetransition
164
153
  */
165
- export function unstable_useTransition(config?: SuspenseConfig | null): [TransitionStartFunction, boolean];
154
+ export function unstable_useTransition(): [TransitionStartFunction, boolean];
166
155
 
167
156
  const opaqueIdentifierBranding: unique symbol;
168
157
  /**
react/global.d.ts CHANGED
File without changes
react/index.d.ts CHANGED
File without changes
File without changes
react/jsx-runtime.d.ts CHANGED
File without changes
react/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "17.0.3",
3
+ "version": "17.0.4",
4
4
  "description": "TypeScript definitions for React",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -145,6 +145,6 @@
145
145
  "@types/scheduler": "*",
146
146
  "csstype": "^3.0.2"
147
147
  },
148
- "typesPublisherContentHash": "ab6c59b27fa47a5a0b71079207e495f9ed411835d432c86f659cd067682ec501",
148
+ "typesPublisherContentHash": "c6cadabf6c6ad2fa532093c97e563398385fdfec0709120cc42b6652cbcc7908",
149
149
  "typeScriptVersion": "3.5"
150
150
  }