Skip to content

refactor(audience): remove redundant Required/Optional JSDoc (SDK-116)#2852

Merged
ImmutableJeffrey merged 1 commit into
mainfrom
refactor/audience-remove-required-optional-jsdoc
Apr 14, 2026
Merged

refactor(audience): remove redundant Required/Optional JSDoc (SDK-116)#2852
ImmutableJeffrey merged 1 commit into
mainfrom
refactor/audience-remove-required-optional-jsdoc

Conversation

@ImmutableJeffrey

@ImmutableJeffrey ImmutableJeffrey commented Apr 14, 2026

Copy link
Copy Markdown
Contributor

Summary

Removes the /** Required. */ / /** Optional. */ JSDoc labels from every property in events.ts. TypeScript's ? modifier already encodes optionality — the labels duplicate the syntax without adding information.

Linear: SDK-116.

@ImmutableJeffrey ImmutableJeffrey requested a review from a team as a code owner April 14, 2026 02:13
@nx-cloud

nx-cloud Bot commented Apr 14, 2026

Copy link
Copy Markdown

View your CI Pipeline Execution ↗ for commit 5c59dce

Command Status Duration Result
nx run-many -p @imtbl/sdk,@imtbl/checkout-widge... ✅ Succeeded 3s View ↗
nx affected -t build,lint,test ✅ Succeeded <1s View ↗

☁️ Nx Cloud last updated this comment at 2026-04-14 02:38:05 UTC

Base automatically changed from feat/audience-typed-events to main April 14, 2026 02:19
TypeScript's `?` modifier already encodes property optionality at the
type level. The JSDoc labels duplicate what the syntax says without
adding information.

Follow-up to #2850.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ImmutableJeffrey ImmutableJeffrey force-pushed the refactor/audience-remove-required-optional-jsdoc branch from 9546c7d to 5c59dce Compare April 14, 2026 02:23
@ImmutableJeffrey ImmutableJeffrey added this pull request to the merge queue Apr 14, 2026
Merged via the queue into main with commit 55a08c4 Apr 14, 2026
7 checks passed
@ImmutableJeffrey ImmutableJeffrey deleted the refactor/audience-remove-required-optional-jsdoc branch April 14, 2026 02:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants