@sanity/cli 3.41.2 → 3.42.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/lib/_chunks-cjs/cli.js +2 -0
- package/lib/_chunks-cjs/cli.js.map +1 -1
- package/lib/_chunks-cjs/generateAction.js +3 -7
- package/lib/_chunks-cjs/generateAction.js.map +1 -1
- package/lib/workers/typegenGenerate.js +4 -3
- package/lib/workers/typegenGenerate.js.map +1 -1
- package/package.json +8 -8
- package/src/actions/typegen/generateAction.ts +3 -3
- package/src/workers/typegenGenerate.ts +3 -3
package/lib/_chunks-cjs/cli.js
CHANGED
@@ -31908,6 +31908,8 @@ while`), parts.push(" (", path2.call(print, "test"), ");"), (0, lines_1.concat)(
|
|
31908
31908
|
}
|
31909
31909
|
case "JSXOpeningElement": {
|
31910
31910
|
parts.push("<", path2.call(print, "name"));
|
31911
|
+
var typeDefPart = path2.call(print, "typeParameters");
|
31912
|
+
typeDefPart.length && parts.push(typeDefPart);
|
31911
31913
|
var attrParts_1 = [];
|
31912
31914
|
path2.each(function(attrPath) {
|
31913
31915
|
attrParts_1.push(" ", print(attrPath));
|