@types/react 17.0.2 → 17.0.3

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 (3) hide show
  1. react/README.md +2 -2
  2. react/index.d.ts +1 -9
  3. react/package.json +4 -3
react/README.md CHANGED
@@ -8,8 +8,8 @@ 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: Fri, 12 Feb 2021 18:02:47 GMT
12
- * Dependencies: [@types/csstype](https://npmjs.com/package/@types/csstype), [@types/prop-types](https://npmjs.com/package/@types/prop-types)
11
+ * Last updated: Sun, 07 Mar 2021 10:42:17 GMT
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
 
15
15
  # Credits
react/index.d.ts CHANGED
@@ -37,6 +37,7 @@
37
37
 
38
38
  import * as CSS from 'csstype';
39
39
  import * as PropTypes from 'prop-types';
40
+ import { Interaction as SchedulerInteraction } from 'scheduler/tracing';
40
41
 
41
42
  type NativeAnimationEvent = AnimationEvent;
42
43
  type NativeClipboardEvent = ClipboardEvent;
@@ -52,15 +53,6 @@ type NativeUIEvent = UIEvent;
52
53
  type NativeWheelEvent = WheelEvent;
53
54
  type Booleanish = boolean | 'true' | 'false';
54
55
 
55
- /**
56
- * defined in scheduler/tracing
57
- */
58
- interface SchedulerInteraction {
59
- id: number;
60
- name: string;
61
- timestamp: number;
62
- }
63
-
64
56
  declare const UNDEFINED_VOID_ONLY: unique symbol;
65
57
  // Destructors are only allowed to return void.
66
58
  type Destructor = () => void | { [UNDEFINED_VOID_ONLY]: never };
react/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "17.0.2",
3
+ "version": "17.0.3",
4
4
  "description": "TypeScript definitions for React",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -142,8 +142,9 @@
142
142
  "scripts": {},
143
143
  "dependencies": {
144
144
  "@types/prop-types": "*",
145
+ "@types/scheduler": "*",
145
146
  "csstype": "^3.0.2"
146
147
  },
147
- "typesPublisherContentHash": "b4bc71e5ae8e6467bc315f57f8e7b98e248d5994ecaaf51bd4e674de77bfb6fc",
148
- "typeScriptVersion": "3.4"
148
+ "typesPublisherContentHash": "ab6c59b27fa47a5a0b71079207e495f9ed411835d432c86f659cd067682ec501",
149
+ "typeScriptVersion": "3.5"
149
150
  }