@lytjs/core 6.7.0 → 6.9.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/index.cjs +6 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1556 -0
- package/dist/index.d.ts +1556 -0
- package/dist/index.mjs +6 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +12 -12
package/dist/index.mjs
CHANGED
|
@@ -968,10 +968,7 @@ function createApp(rootComponent, rootProps = null, options) {
|
|
|
968
968
|
if (typeof plugin === "function") {
|
|
969
969
|
plugin(app, ...options2);
|
|
970
970
|
} else if (plugin && typeof plugin.install === "function") {
|
|
971
|
-
plugin.install(
|
|
972
|
-
app,
|
|
973
|
-
...options2
|
|
974
|
-
);
|
|
971
|
+
plugin.install(app, ...options2);
|
|
975
972
|
}
|
|
976
973
|
}
|
|
977
974
|
installedPlugins.add(plugin);
|
|
@@ -3350,7 +3347,11 @@ function getGlobalErrorReporter() {
|
|
|
3350
3347
|
return globalReporter;
|
|
3351
3348
|
}
|
|
3352
3349
|
function createElement(type, props, ...children) {
|
|
3353
|
-
return createVNode(
|
|
3350
|
+
return createVNode(
|
|
3351
|
+
type,
|
|
3352
|
+
props,
|
|
3353
|
+
children
|
|
3354
|
+
);
|
|
3354
3355
|
}
|
|
3355
3356
|
function ErrorBoundary(props) {
|
|
3356
3357
|
props.maxRetries ?? 3;
|