Skip to content

Commit

Permalink
type: Fix type issue in react.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Mar 16, 2022
1 parent 9edf7ab commit 945e73b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ declare global {
}
namespace JSX {
interface IntrinsicElements {
'dark-mode': DarkMode | {
'dark-mode': Partial<DarkMode> | {
style?: Partial<CSSStyleDeclaration>;
};
}
Expand Down

0 comments on commit 945e73b

Please sign in to comment.