From a578a934d741796e02f961f6303dec3dc9b6e2a5 Mon Sep 17 00:00:00 2001 From: Oliver Joseph Ash Date: Sat, 10 Jun 2023 08:51:18 +0100 Subject: [PATCH] `react`: add `fetchPriority` to `LinkHTMLAttributes` (#65726) * `react`: add `fetchPriority` to `LinkHTMLAttributes` * Fix casing --- types/react/index.d.ts | 1 + types/react/ts5.0/index.d.ts | 1 + types/react/v15/index.d.ts | 1 + types/react/v16/index.d.ts | 1 + types/react/v17/index.d.ts | 1 + 5 files changed, 5 insertions(+) diff --git a/types/react/index.d.ts b/types/react/index.d.ts index f00d9b1927..2eac747cf2 100644 --- a/types/react/index.d.ts +++ b/types/react/index.d.ts @@ -2360,6 +2360,7 @@ declare namespace React { interface LinkHTMLAttributes extends HTMLAttributes { as?: string | undefined; crossOrigin?: "anonymous" | "use-credentials" | "" | undefined; + fetchpriority?: "high" | "low" | "auto"; href?: string | undefined; hrefLang?: string | undefined; integrity?: string | undefined; diff --git a/types/react/ts5.0/index.d.ts b/types/react/ts5.0/index.d.ts index 6bbabc64fd..ddc5b65399 100644 --- a/types/react/ts5.0/index.d.ts +++ b/types/react/ts5.0/index.d.ts @@ -2328,6 +2328,7 @@ declare namespace React { interface LinkHTMLAttributes extends HTMLAttributes { as?: string | undefined; crossOrigin?: "anonymous" | "use-credentials" | "" | undefined; + fetchpriority?: "high" | "low" | "auto"; href?: string | undefined; hrefLang?: string | undefined; integrity?: string | undefined; diff --git a/types/react/v15/index.d.ts b/types/react/v15/index.d.ts index a307d2ab31..a1444ac692 100644 --- a/types/react/v15/index.d.ts +++ b/types/react/v15/index.d.ts @@ -2947,6 +2947,7 @@ declare namespace React { interface LinkHTMLAttributes extends HTMLAttributes { as?: string | undefined; crossOrigin?: "anonymous" | "use-credentials" | "" | undefined; + fetchpriority?: "high" | "low" | "auto"; href?: string | undefined; hrefLang?: string | undefined; integrity?: string | undefined; diff --git a/types/react/v16/index.d.ts b/types/react/v16/index.d.ts index d109abf3fd..77403a255e 100644 --- a/types/react/v16/index.d.ts +++ b/types/react/v16/index.d.ts @@ -2245,6 +2245,7 @@ declare namespace React { interface LinkHTMLAttributes extends HTMLAttributes { as?: string | undefined; crossOrigin?: "anonymous" | "use-credentials" | "" | undefined; + fetchpriority?: "high" | "low" | "auto"; href?: string | undefined; hrefLang?: string | undefined; integrity?: string | undefined; diff --git a/types/react/v17/index.d.ts b/types/react/v17/index.d.ts index 0f07a800a9..0e26d8a1e9 100644 --- a/types/react/v17/index.d.ts +++ b/types/react/v17/index.d.ts @@ -2244,6 +2244,7 @@ declare namespace React { interface LinkHTMLAttributes extends HTMLAttributes { as?: string | undefined; crossOrigin?: "anonymous" | "use-credentials" | "" | undefined; + fetchpriority?: "high" | "low" | "auto"; href?: string | undefined; hrefLang?: string | undefined; integrity?: string | undefined;