We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e18356 commit 2c22cb1Copy full SHA for 2c22cb1
src/index.d.ts
@@ -66,7 +66,7 @@ export interface ClassAttributes<T> extends Attributes {
66
export interface PreactDOMAttributes {
67
children?: ComponentChildren;
68
dangerouslySetInnerHTML?: {
69
- __html: string;
+ __html: Parameters<DOMParser['parseFromString']>[0];
70
};
71
}
72
0 commit comments