@types/react 17.0.11 → 17.0.12

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 +1 -1
  2. react/index.d.ts +8 -1
  3. react/package.json +2 -2
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: Wed, 09 Jun 2021 14:01:27 GMT
11
+ * Last updated: Thu, 01 Jul 2021 08:01: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/index.d.ts CHANGED
@@ -2001,6 +2001,13 @@ declare namespace React {
2001
2001
  | 'strict-origin-when-cross-origin'
2002
2002
  | 'unsafe-url';
2003
2003
 
2004
+ type HTMLAttributeAnchorTarget =
2005
+ | '_self'
2006
+ | '_blank'
2007
+ | '_parent'
2008
+ | '_top'
2009
+ | (string & {});
2010
+
2004
2011
  interface AnchorHTMLAttributes<T> extends HTMLAttributes<T> {
2005
2012
  download?: any;
2006
2013
  href?: string;
@@ -2008,7 +2015,7 @@ declare namespace React {
2008
2015
  media?: string;
2009
2016
  ping?: string;
2010
2017
  rel?: string;
2011
- target?: string;
2018
+ target?: HTMLAttributeAnchorTarget;
2012
2019
  type?: string;
2013
2020
  referrerPolicy?: HTMLAttributeReferrerPolicy;
2014
2021
  }
react/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "17.0.11",
3
+ "version": "17.0.12",
4
4
  "description": "TypeScript definitions for React",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
6
6
  "license": "MIT",
@@ -151,6 +151,6 @@
151
151
  "@types/scheduler": "*",
152
152
  "csstype": "^3.0.2"
153
153
  },
154
- "typesPublisherContentHash": "c77392134576d6e26ea1cf5757ae9bb18e415173effa960387c647125921ac6b",
154
+ "typesPublisherContentHash": "a902cdf7b1bf346a5633b9193c94b0510ec4bdb586c3269b7b12bc56f9d48722",
155
155
  "typeScriptVersion": "3.6"
156
156
  }