You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
321 B
TypeScript
15 lines
321 B
TypeScript
import {VNode, VNodeData} from './vnode';
|
|
|
|
declare global {
|
|
/**
|
|
* opt-in jsx intrinsic global interfaces
|
|
* see: https://www.typescriptlang.org/docs/handbook/jsx.html#type-checking
|
|
*/
|
|
namespace JSX {
|
|
type Element = VNode;
|
|
interface IntrinsicElements {
|
|
[elemName: string]: VNodeData;
|
|
}
|
|
}
|
|
}
|