j20 0.0.16 → 0.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +2 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +27 -38
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -4734,6 +4734,7 @@ interface Instance {
|
|
|
4734
4734
|
parent?: Instance;
|
|
4735
4735
|
id: string;
|
|
4736
4736
|
range: Text[];
|
|
4737
|
+
root?: Element;
|
|
4737
4738
|
host?: Element;
|
|
4738
4739
|
disposes?: (() => void)[];
|
|
4739
4740
|
children?: Instance[];
|
|
@@ -4748,10 +4749,7 @@ declare const instanceCreate: (runner: () => any, parent?: Instance) => readonly
|
|
|
4748
4749
|
declare const instanceGetElements: (instance: Instance) => Node[];
|
|
4749
4750
|
declare const instanceDestroy: (parent: Instance, instance: Instance) => void;
|
|
4750
4751
|
|
|
4751
|
-
declare const createRoot: (boot: () => JSX.Element) =>
|
|
4752
|
-
element: HTMLElement;
|
|
4753
|
-
instance: Instance;
|
|
4754
|
-
};
|
|
4752
|
+
declare const createRoot: (boot: () => JSX.Element, rootElement: Element) => Instance;
|
|
4755
4753
|
|
|
4756
4754
|
declare const h2: (tag: any, props: any, children: any) => JSX.Element;
|
|
4757
4755
|
declare const jsx: (tag: any, props: any, children: any) => JSX.Element;
|