-
Notifications
You must be signed in to change notification settings - Fork 332
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: simplify the type srouce of third-party lib (#683)
* chore: simplify the type srouce of third-party lib * chore: release v2.2.5
- Loading branch information
Showing
3 changed files
with
15 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
declare global { | ||
declare module 'react' { | ||
interface StyleHTMLAttributes<T> extends React.HTMLAttributes<T> { | ||
jsx?: boolean; | ||
global?: boolean; | ||
} | ||
// Definitions by: @types/styled-jsx <https://www.npmjs.com/package/@types/styled-jsx> | ||
|
||
import 'react' | ||
|
||
declare module 'react' { | ||
interface StyleHTMLAttributes<T> extends HTMLAttributes<T> { | ||
jsx?: boolean | ||
global?: boolean | ||
} | ||
} | ||
|