Skip to content

Commit 35c020c

Browse files
committed
fix: dev error
1 parent 19beb1a commit 35c020c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/shared/missing-preact-types.d.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1+
import { JSXInternal } from 'preact/src/jsx';
12
declare module 'preact' {
23
namespace JSX {
34
interface HTMLAttributes {
4-
decoding?: 'sync' | 'async' | 'auto';
5+
decoding?:
6+
| 'sync'
7+
| 'async'
8+
| 'auto'
9+
| JSXInternal.SignalLike<'sync' | 'async' | 'auto' | undefined>;
510
}
611
}
712
}

0 commit comments

Comments
 (0)