@idealyst/tooling 1.2.14 → 1.2.15

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idealyst/tooling",
3
- "version": "1.2.14",
3
+ "version": "1.2.15",
4
4
  "description": "Code analysis and validation utilities for Idealyst Framework",
5
5
  "readme": "README.md",
6
6
  "main": "src/index.ts",
@@ -254,8 +254,9 @@ function extractSampleProps(dir: string): SampleProps | undefined {
254
254
  // Extract the object literal as JSON-compatible structure
255
255
  // This is a simplified extraction - it handles basic literals
256
256
  const result: SampleProps = {};
257
+ const propsNode = samplePropsNode as ts.ObjectLiteralExpression;
257
258
 
258
- for (const prop of samplePropsNode.properties) {
259
+ for (const prop of propsNode.properties) {
259
260
  if (ts.isPropertyAssignment(prop) && ts.isIdentifier(prop.name)) {
260
261
  const propName = prop.name.text;
261
262