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 ab66b43 commit f379ceaCopy full SHA for f379cea
@types/global.d.ts
@@ -1,5 +1,4 @@
1
import 'react';
2
-
3
declare global {
4
// A type for the properties of a function component
5
namespace React {
@@ -16,14 +15,17 @@ declare global {
16
15
// A type for JSX markup
17
namespace JSX {
18
interface IntrinsicElements {
19
- 'code-block': React.DetailedHTMLProps<React.HTMLAttributes<HTMLPreElement>, HTMLPreElement> & {
+ 'code-block': React.DetailedHTMLProps<
+ React.HTMLAttributes<HTMLPreElement>,
20
+ HTMLPreElement
21
+ > & {
22
/** The accessible name of code block */
23
label?: string | undefined;
24
/** The Language name */
25
language?: string | undefined;
26
/** The flag to display the UI */
27
controls?: boolean;
- }
28
+ };
29
}
30
31
0 commit comments