@atscript/typescript 0.1.7 → 0.1.8
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/utils.cjs +1 -4
- package/dist/utils.mjs +1 -4
- package/package.json +2 -2
package/dist/utils.cjs
CHANGED
|
@@ -726,10 +726,7 @@ function serializeTypeDef(def, path, options) {
|
|
|
726
726
|
},
|
|
727
727
|
object(d) {
|
|
728
728
|
const props = {};
|
|
729
|
-
for (const [key, val] of d.type.props.entries())
|
|
730
|
-
if (isPhantomType(val)) continue;
|
|
731
|
-
props[key] = serializeNode(val, [...path, key], options);
|
|
732
|
-
}
|
|
729
|
+
for (const [key, val] of d.type.props.entries()) props[key] = serializeNode(val, [...path, key], options);
|
|
733
730
|
const propsPatterns = d.type.propsPatterns.map((pp) => ({
|
|
734
731
|
pattern: {
|
|
735
732
|
source: pp.pattern.source,
|
package/dist/utils.mjs
CHANGED
|
@@ -725,10 +725,7 @@ function serializeTypeDef(def, path, options) {
|
|
|
725
725
|
},
|
|
726
726
|
object(d) {
|
|
727
727
|
const props = {};
|
|
728
|
-
for (const [key, val] of d.type.props.entries())
|
|
729
|
-
if (isPhantomType(val)) continue;
|
|
730
|
-
props[key] = serializeNode(val, [...path, key], options);
|
|
731
|
-
}
|
|
728
|
+
for (const [key, val] of d.type.props.entries()) props[key] = serializeNode(val, [...path, key], options);
|
|
732
729
|
const propsPatterns = d.type.propsPatterns.map((pp) => ({
|
|
733
730
|
pattern: {
|
|
734
731
|
source: pp.pattern.source,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atscript/typescript",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"description": "Atscript: typescript-gen support.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.mjs",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"homepage": "https://github.com/moostjs/atscript/tree/main/packages/typescript#readme",
|
|
71
71
|
"license": "ISC",
|
|
72
72
|
"peerDependencies": {
|
|
73
|
-
"@atscript/core": "^0.1.
|
|
73
|
+
"@atscript/core": "^0.1.8"
|
|
74
74
|
},
|
|
75
75
|
"dependencies": {
|
|
76
76
|
"@moostjs/event-cli": "^0.5.32",
|