test: add testing framework
This commit is contained in:
parent
36536fef33
commit
7e9bed9d56
12 changed files with 563 additions and 24 deletions
10
src/index.ts
10
src/index.ts
|
|
@ -6,3 +6,13 @@
|
|||
export { HTMLElement, Component } from "./component";
|
||||
export { UserConfig as Config } from "./config";
|
||||
export { createElement } from "./create-element";
|
||||
|
||||
import { HTMLElement } from "./component";
|
||||
import { IntrinsicElements as JsxIntrinsics } from "./jsx";
|
||||
|
||||
declare global {
|
||||
namespace JSX {
|
||||
type Element = HTMLElement;
|
||||
type IntrinsicElements = JsxIntrinsics;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue