@takuma-ru/auto-story-generator
Advanced tools
Comparing version 0.2.6 to 0.2.7
@@ -567,3 +567,3 @@ var __defProp = Object.defineProperty; | ||
}) => { | ||
var _a; | ||
var _a, _b; | ||
if (!componentName) { | ||
@@ -581,3 +581,3 @@ return { | ||
const propsInline = (_a = sourceFile.getVariableDeclaration(pascalComponentName)) == null ? void 0 : _a.getInitializerIfKindOrThrow(ts.SyntaxKind.ArrowFunction); | ||
const props = (propsType == null ? void 0 : propsType.getType()) || (propsInterface == null ? void 0 : propsInterface.getType()) || (propsOnlyType == null ? void 0 : propsOnlyType.getType()) || (propsOnlyInterface == null ? void 0 : propsOnlyInterface.getType()) || (propsInline == null ? void 0 : propsInline.getParameters()[0].getType()); | ||
const props = (propsType == null ? void 0 : propsType.getType()) || (propsInterface == null ? void 0 : propsInterface.getType()) || (propsOnlyType == null ? void 0 : propsOnlyType.getType()) || (propsOnlyInterface == null ? void 0 : propsOnlyInterface.getType()) || ((_b = propsInline == null ? void 0 : propsInline.getParameters()[0]) == null ? void 0 : _b.getType()); | ||
if (!props) { | ||
@@ -584,0 +584,0 @@ return { |
@@ -5,3 +5,3 @@ { | ||
"private": false, | ||
"version": "0.2.6", | ||
"version": "0.2.7", | ||
"main": "./dist/index.js", | ||
@@ -8,0 +8,0 @@ "module": "./dist/index.js", |
Sorry, the diff of this file is not supported yet
60204