Skip to content

Update to Typescript 6 / Jest 29#202

Open
alexdunae wants to merge 5 commits into
alex/eslint-crafrom
alex/typescript6
Open

Update to Typescript 6 / Jest 29#202
alexdunae wants to merge 5 commits into
alex/eslint-crafrom
alex/typescript6

Conversation

@alexdunae
Copy link
Copy Markdown
Contributor

@alexdunae alexdunae commented May 13, 2026

Prep for adding Stratakit components and general modernization.

Stratakit's optional render prop was being seen as required in TS 4, which is what prompted me to start this update.

  • Update to Typescript 6 / Jest 29
  • extracted a tsconfig.base.json to simplify config
  • moved Jest TS config into jest.config.js - this lets us remove types: [node, jest] from the browser-targeting tsconfig files
  • switched to moduleResolution: "bundler" since the previous node option is deprecated
  • updated a few SVG imports to handle moduleResolution: "bundler"
  • disabled Storybook's reactDogen for now (this shows TS types on Storybook) - it is not compatible with TS 6 but can be re-enabled when we update Storybook in Upgrade to Storybook 7 #108 - Storybook still shows props, just not with the full TS typings

This PR is based on #203 so CI isn't running automatically. Here are the manual runs... https://github.com/iTwin/admin-components-react/actions?query=branch%3Aalex%2Ftypescript6

@alexdunae alexdunae changed the base branch from main to alex/eslint-cra May 15, 2026 16:38
@alexdunae alexdunae marked this pull request as ready for review May 15, 2026 20:27
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.

1 participant