Skip to content

feat: global tsconfig update.#1283

Open
willum070 wants to merge 20 commits intomainfrom
fix-ts-configs
Open

feat: global tsconfig update.#1283
willum070 wants to merge 20 commits intomainfrom
fix-ts-configs

Conversation

@willum070
Copy link
Copy Markdown
Collaborator

@willum070 willum070 commented Apr 8, 2026

There are two issues at play here, not sure whether they are related:

  • TS (or something) changed and ambient type declarations began failing. I noticed when google stopped resolving in the editor for ALL projects. Weird.
  • The "Node" module resolution option is deprecated. This warning also cropped up this morning, and also has the side effect of breaking the build for each project.

These changes likely came along with the Node update to version 6 from last month, and I suspect it's taken this long for me to manage to get the dependency graph to redraw. Today was the day.

This PR does the following things:

  • Adds a root shared TypeScript config (e.g. tsconfig.base.json) that declares the Google Maps ambient typings.
  • Updates every sample samples/*/tsconfig.json to extend the root config.
  • Updates all moduleResolution to "bundled" ("node" is deprecated).
  • Adds "skipLibCheck": true, to select projects (React UI Kit ones had some upstream conflicts that this will safely hide).
  • Gives me back the minutes of my life spent doing this (not sure if it can, but I'll ask anyway).

@willum070 willum070 requested a review from ejhaselden April 8, 2026 19:42
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.

2 participants