Skip to content

chore: enable noImplicitAny in TypeScript config#7076

Closed
langz wants to merge 7 commits intov11from
chore/typescript-strict-phase-6
Closed

chore: enable noImplicitAny in TypeScript config#7076
langz wants to merge 7 commits intov11from
chore/typescript-strict-phase-6

Conversation

@langz
Copy link
Copy Markdown
Contributor

@langz langz commented Mar 19, 2026

  • Enable noImplicitAny in tsconfig.json and tsconfig.definitions.json
  • Fix 568 auto-generated icon files with SVGProps type on props
  • Update icon generator to produce typed props
  • Add proper type annotations across ~794 files in scripts, shared, core, fragments, components, and extensions
  • Add module declarations for packpath, current-git-branch, @ungap/structured-clone

@codesandbox-ci
Copy link
Copy Markdown

codesandbox-ci bot commented Mar 19, 2026

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

- Enable noImplicitAny in tsconfig.json and tsconfig.definitions.json
- Fix 568 auto-generated icon files with SVGProps type on props
- Update icon generator to produce typed props
- Add proper type annotations across ~794 files in scripts, shared, core, fragments, components, and extensions
- Add module declarations for packpath, current-git-branch, @ungap/structured-clone
@langz langz force-pushed the chore/typescript-strict-phase-6 branch from 340dde3 to ec0aa76 Compare March 19, 2026 18:20
@langz langz marked this pull request as draft March 20, 2026 09:33
- ToggleButton.tsx: use String(propValue) for contextValues.includes() since values type is string | any[]
- IsolationResetButton, CancelButton, ResetButton: replace inline import() type annotations with proper type imports of ButtonClickEvent
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Mar 23, 2026

commit: 5361ced

langz added 3 commits March 23, 2026 15:25
- Fix TestElement props to use React.HTMLAttributes<HTMLElement> instead of
  index signature, making it compatible with DynamicElement type
- Add @ts-expect-error for raw icon component title prop usage
@langz langz closed this Mar 26, 2026
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.

1 participant