|
@@ -309,6 +309,17 @@ export interface HTMLAttributes extends AriaAttributes, EventHandlers<Events> {
|
|
|
is?: string
|
|
is?: string
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+type HTMLAttributeReferrerPolicy =
|
|
|
|
|
+ | ''
|
|
|
|
|
+ | 'no-referrer'
|
|
|
|
|
+ | 'no-referrer-when-downgrade'
|
|
|
|
|
+ | 'origin'
|
|
|
|
|
+ | 'origin-when-cross-origin'
|
|
|
|
|
+ | 'same-origin'
|
|
|
|
|
+ | 'strict-origin'
|
|
|
|
|
+ | 'strict-origin-when-cross-origin'
|
|
|
|
|
+ | 'unsafe-url'
|
|
|
|
|
+
|
|
|
export interface AnchorHTMLAttributes extends HTMLAttributes {
|
|
export interface AnchorHTMLAttributes extends HTMLAttributes {
|
|
|
download?: any
|
|
download?: any
|
|
|
href?: string
|
|
href?: string
|
|
@@ -318,7 +329,7 @@ export interface AnchorHTMLAttributes extends HTMLAttributes {
|
|
|
rel?: string
|
|
rel?: string
|
|
|
target?: string
|
|
target?: string
|
|
|
type?: string
|
|
type?: string
|
|
|
- referrerpolicy?: string
|
|
|
|
|
|
|
+ referrerpolicy?: HTMLAttributeReferrerPolicy
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
export interface AreaHTMLAttributes extends HTMLAttributes {
|
|
export interface AreaHTMLAttributes extends HTMLAttributes {
|
|
@@ -328,6 +339,7 @@ export interface AreaHTMLAttributes extends HTMLAttributes {
|
|
|
href?: string
|
|
href?: string
|
|
|
hreflang?: string
|
|
hreflang?: string
|
|
|
media?: string
|
|
media?: string
|
|
|
|
|
+ referrerpolicy?: HTMLAttributeReferrerPolicy
|
|
|
rel?: string
|
|
rel?: string
|
|
|
shape?: string
|
|
shape?: string
|
|
|
target?: string
|
|
target?: string
|
|
@@ -426,7 +438,7 @@ export interface IframeHTMLAttributes extends HTMLAttributes {
|
|
|
marginheight?: Numberish
|
|
marginheight?: Numberish
|
|
|
marginwidth?: Numberish
|
|
marginwidth?: Numberish
|
|
|
name?: string
|
|
name?: string
|
|
|
- referrerpolicy?: string
|
|
|
|
|
|
|
+ referrerpolicy?: HTMLAttributeReferrerPolicy
|
|
|
sandbox?: string
|
|
sandbox?: string
|
|
|
scrolling?: string
|
|
scrolling?: string
|
|
|
seamless?: Booleanish
|
|
seamless?: Booleanish
|
|
@@ -440,6 +452,7 @@ export interface ImgHTMLAttributes extends HTMLAttributes {
|
|
|
crossorigin?: 'anonymous' | 'use-credentials' | ''
|
|
crossorigin?: 'anonymous' | 'use-credentials' | ''
|
|
|
decoding?: 'async' | 'auto' | 'sync'
|
|
decoding?: 'async' | 'auto' | 'sync'
|
|
|
height?: Numberish
|
|
height?: Numberish
|
|
|
|
|
+ referrerpolicy?: HTMLAttributeReferrerPolicy
|
|
|
sizes?: string
|
|
sizes?: string
|
|
|
src?: string
|
|
src?: string
|
|
|
srcset?: string
|
|
srcset?: string
|
|
@@ -514,6 +527,7 @@ export interface LinkHTMLAttributes extends HTMLAttributes {
|
|
|
hreflang?: string
|
|
hreflang?: string
|
|
|
integrity?: string
|
|
integrity?: string
|
|
|
media?: string
|
|
media?: string
|
|
|
|
|
+ referrerpolicy?: HTMLAttributeReferrerPolicy
|
|
|
rel?: string
|
|
rel?: string
|
|
|
sizes?: string
|
|
sizes?: string
|
|
|
type?: string
|
|
type?: string
|
|
@@ -614,6 +628,7 @@ export interface ScriptHTMLAttributes extends HTMLAttributes {
|
|
|
defer?: Booleanish
|
|
defer?: Booleanish
|
|
|
integrity?: string
|
|
integrity?: string
|
|
|
nomodule?: Booleanish
|
|
nomodule?: Booleanish
|
|
|
|
|
+ referrerpolicy?: HTMLAttributeReferrerPolicy
|
|
|
nonce?: string
|
|
nonce?: string
|
|
|
src?: string
|
|
src?: string
|
|
|
type?: string
|
|
type?: string
|