Skip to content

fix: Add some missing TS exports#9836

Merged
devongovett merged 3 commits intomainfrom
ts-exports
Mar 25, 2026
Merged

fix: Add some missing TS exports#9836
devongovett merged 3 commits intomainfrom
ts-exports

Conversation

@devongovett
Copy link
Copy Markdown
Member

Adds some types that were not exported before but people were using due to d.ts files allowing non-exported types to be imported: microsoft/TypeScript#38592.

Also fixes @react-spectrum/s2/style/tokens.d.ts referring to @adobe/spectrum-tokens which is a dev dependency by inlining the keys in the built types.

@github-actions github-actions bot added the S2 label Mar 25, 2026
@rspbot
Copy link
Copy Markdown

rspbot commented Mar 25, 2026

@rspbot
Copy link
Copy Markdown

rspbot commented Mar 25, 2026

@rspbot
Copy link
Copy Markdown

rspbot commented Mar 25, 2026

## API Changes

@internationalized/date

/@internationalized/date:DateValue

+DateValue {
+  D: undefined
+}

@react-spectrum/toast

/@react-spectrum/toast:CloseFunction

+CloseFunction {
+  C: undefined
+}

@react-stately/data

/@react-stately/data:AsyncListLoadFunction

+AsyncListLoadFunction {
+  A: undefined
+}

/@react-stately/data:AsyncListLoadOptions

+AsyncListLoadOptions <C, T> {
+  cursor?: C
+  filterText?: string
+  items: Array<T>
+  loadingState?: LoadingState
+  selectedKeys: Selection
+  signal: AbortSignal
+  sortDescriptor?: SortDescriptor
+}

/@react-stately/data:AsyncListStateUpdate

+AsyncListStateUpdate <C, T> {
+  cursor?: C
+  filterText?: string
+  items: Iterable<T>
+  selectedKeys?: Iterable<Key>
+  sortDescriptor?: SortDescriptor
+}

@devongovett devongovett added this pull request to the merge queue Mar 25, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 25, 2026
@devongovett devongovett added this pull request to the merge queue Mar 25, 2026
Merged via the queue into main with commit e4ea723 Mar 25, 2026
29 checks passed
@devongovett devongovett deleted the ts-exports branch March 25, 2026 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants