Skip to content

Commit

Permalink
fix: dev error
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangHongEn committed May 10, 2024
1 parent 19beb1a commit 35c020c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/shared/missing-preact-types.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
import { JSXInternal } from 'preact/src/jsx';
declare module 'preact' {
namespace JSX {
interface HTMLAttributes {
decoding?: 'sync' | 'async' | 'auto';
decoding?:
| 'sync'
| 'async'
| 'auto'
| JSXInternal.SignalLike<'sync' | 'async' | 'auto' | undefined>;
}
}
}
Expand Down

0 comments on commit 35c020c

Please sign in to comment.