optimize img tag

This commit is contained in:
Ren Amamiya
2023-04-24 09:16:10 +07:00
parent 740dc85f13
commit 2014720f93
14 changed files with 66 additions and 10 deletions

7
global.d.ts vendored Normal file
View File

@@ -0,0 +1,7 @@
import { AriaAttributes, DOMAttributes } from 'react';
declare module 'react' {
interface HTMLAttributes<T> extends AriaAttributes, DOMAttributes<T> {
fetchpriority?: 'high' | 'low' | 'auto';
}
}