Skip to content

fix: guard live function descriptions - #6984

Open
omercnet wants to merge 1 commit into
anomalyco:devfrom
omercnet:fix/6915-strict-null
Open

fix: guard live function descriptions#6984
omercnet wants to merge 1 commit into
anomalyco:devfrom
omercnet:fix/6915-strict-null

Conversation

@omercnet

Copy link
Copy Markdown

Summary

  • guard optional resolved Lambda descriptions before truncating them in live mode
  • keep undefined and empty descriptions consistent with the existing live fallback
  • make the shipped platform source clean under strictNullChecks for this path

Verification

  • bun x tsc --noEmit -p platform/tsconfig.json --strictNullChecks
  • bun run typecheck:platform
  • bun x vitest run platform/test/components/function-builder.test.ts
  • bun run build:platform

Closes #6915

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

v4: platform source (function.ts) isn't strictNullChecks-clean — fails consumers' strict type-check (all 4.x)

1 participant