@kubb/core 0.42.1 → 0.43.1
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 +1 -1
- package/dist/index.global.js +2 -2
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.global.js
CHANGED
|
@@ -17221,10 +17221,10 @@ var kubb = (function (exports) {
|
|
|
17221
17221
|
const importSource = imports.reduce((prev, curr) => {
|
|
17222
17222
|
if (Array.isArray(curr.name)) {
|
|
17223
17223
|
return `${prev}
|
|
17224
|
-
import ${curr.
|
|
17224
|
+
import ${curr.isTypeOnly ? "type " : ""}{ ${curr.name.join(",")} } from "${curr.path}";`;
|
|
17225
17225
|
}
|
|
17226
17226
|
return `${prev}
|
|
17227
|
-
import ${curr.
|
|
17227
|
+
import ${curr.isTypeOnly ? "type " : ""}${curr.name} from "${curr.path}";`;
|
|
17228
17228
|
}, "");
|
|
17229
17229
|
if (importSource) {
|
|
17230
17230
|
return `${importSource}
|