fix: add declare modifier to top-level function declarations in .d.ts files#2
Merged
Merged
Conversation
Agent-Logs-Url: https://github.com/robigan/design-system-react/sessions/2ac66c8a-afca-4f9d-8e31-9b020ee6ea08 Co-authored-by: robigan <35210888+robigan@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
robigan
May 21, 2026 06:28
View session
robigan
approved these changes
May 21, 2026
Agent-Logs-Url: https://github.com/robigan/design-system-react/sessions/09accf4f-0490-4f9f-be53-799dcd9f74c2 Co-authored-by: robigan <35210888+robigan@users.noreply.github.com>
robigan
approved these changes
May 21, 2026
17 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TypeScript error
ts(1046)was raised across all declaration modules converted from ambient to proper.d.tsformat in #1 — top-levelfunctiondeclarations require adeclareorexportmodifier in non-ambient.d.tsfiles.Changes
components/**/*.d.ts: Prependeddeclareto every top-levelfunctiondeclaration (182 files)declareto theconst settingsdeclaration insettings.d.tsBefore:
After: