@krate/runtime 0.3.0-beta.9 → 0.3.0
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/jsx-types.d.ts +6 -6
- package/package.json +1 -1
package/dist/jsx-types.d.ts
CHANGED
|
@@ -165,9 +165,9 @@ declare global {
|
|
|
165
165
|
children?: unknown[] | unknown;
|
|
166
166
|
key?: string | number;
|
|
167
167
|
/** Assigns the mounted DOM element. Pass a mutable holder (`ref={myRef}`), a callback (`ref={el => ...}`), or an element. */
|
|
168
|
-
ref?: ((el: Element) => void) | {
|
|
169
|
-
current: Element | null;
|
|
170
|
-
} | Element | null;
|
|
168
|
+
ref?: ((el: globalThis.Element) => void) | {
|
|
169
|
+
current: globalThis.Element | null;
|
|
170
|
+
} | globalThis.Element | null;
|
|
171
171
|
slot?: string;
|
|
172
172
|
style?: CSSProperties | string;
|
|
173
173
|
part?: string;
|
|
@@ -613,9 +613,9 @@ declare global {
|
|
|
613
613
|
interface SVGAttributes extends AriaAttributes {
|
|
614
614
|
children?: unknown[] | unknown;
|
|
615
615
|
key?: string | number;
|
|
616
|
-
ref?: ((el: Element) => void) | {
|
|
617
|
-
current: Element | null;
|
|
618
|
-
} | Element | null;
|
|
616
|
+
ref?: ((el: globalThis.Element) => void) | {
|
|
617
|
+
current: globalThis.Element | null;
|
|
618
|
+
} | globalThis.Element | null;
|
|
619
619
|
style?: CSSProperties | string;
|
|
620
620
|
class?: string;
|
|
621
621
|
className?: string;
|